Skip to content

Commit 8235937

Browse files
committed
ci: fix publish
1 parent 9f2e54b commit 8235937

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515
- uses: actions/checkout@v3
1616
- uses: actions/setup-node@v3
1717
with:
18-
node-version: "18"
18+
node-version: 20.x
19+
registry-url: https://registry.npmjs.org
1920
- run: npm ci
2021
- run: npm run test
2122
- run: npm run build

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ jobs:
2727
runs-on: ubuntu-latest
2828
if: ${{ needs.release-please.outputs.release_created }}
2929
steps:
30-
- uses: actions/checkout@v3
31-
- uses: actions/setup-node@v3
30+
- uses: actions/checkout@v4
31+
- uses: actions/setup-node@v4
3232
with:
33-
node-version: "20"
33+
node-version: 20.x
34+
registry-url: https://registry.npmjs.org
3435
- run: npm ci
3536
- run: npm publish
3637
env:

0 commit comments

Comments
 (0)