Skip to content

Commit 5bd21ba

Browse files
committed
ci: clean install
1 parent 4a8fe92 commit 5bd21ba

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@ jobs:
2020
with:
2121
deno-version: 2.x
2222

23-
- run: npm install
23+
- uses: actions/setup-node@v4
24+
with:
25+
node-version: '22'
26+
registry-url: 'https://registry.npmjs.org'
27+
28+
- run: npm ci
2429

2530
- name: Publish to npm
26-
run: |
27-
npm config set //registry.npmjs.org/:_authToken '${NPM_TOKEN}'
28-
npm publish --ignore-scripts
29-
env:
30-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
31+
run: npm publish --ignore-scripts
3132

3233
- name: Create Release
3334
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)