Skip to content

Commit 78580eb

Browse files
authored
update release workflow (remove secret env, upgrade to node22)
1 parent 798e4e9 commit 78580eb

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/setup-node@v4
1616
with:
1717
always-auth: true
18-
node-version: 20
18+
node-version: 22
1919
registry-url: "https://npm.pkg.github.com"
2020
scope: "@noahm"
2121
cache: "yarn"
@@ -35,7 +35,7 @@ jobs:
3535
- uses: actions/checkout@v4
3636
- uses: actions/setup-node@v4
3737
with:
38-
node-version: 20
38+
node-version: 22
3939
registry-url: "https://registry.npmjs.org"
4040
cache: "yarn"
4141
- name: Install dependencies
@@ -44,5 +44,3 @@ jobs:
4444
run: yarn build
4545
- name: Publish to NPM
4646
run: npm publish --provenance
47-
env:
48-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)