Skip to content

Commit 244d935

Browse files
committed
chore: do some actions finagling
1 parent 0089273 commit 244d935

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Package
1+
name: Publish to NPM
22

33
on:
44
workflow_dispatch:
@@ -9,20 +9,16 @@ on:
99
jobs:
1010
publish:
1111
runs-on: ubuntu-latest
12-
permissions:
13-
contents: read
14-
packages: write
1512

1613
steps:
1714
- uses: actions/checkout@v4
1815

1916
- uses: actions/setup-node@v4
2017
with:
2118
node-version: "20"
22-
registry-url: "https://npm.pkg.github.com"
23-
scope: "@arvensissystems"
19+
registry-url: "https://registry.npmjs.org"
2420

2521
- name: Publish package
26-
run: npm publish
22+
run: npm publish --access public
2723
env:
28-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@arvensissystems/commit.box-contracts",
2+
"name": "@arvensis/commit.box-contracts",
33
"description": "commit.box contracts",
44
"version": "1.0.0",
55
"author": {

0 commit comments

Comments
 (0)