Skip to content

Commit 8f906a3

Browse files
Fix CI: Upgrade to Node 20 and add missing npm install step
1 parent 1ad38bf commit 8f906a3

1 file changed

Lines changed: 2 additions & 15 deletions

File tree

.github/workflows/release-package.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,9 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: 16
16-
- run: npm build
17-
- run: npm test
18-
19-
publish-gpr:
20-
needs: build
21-
runs-on: macos-latest
22-
permissions:
23-
packages: write
24-
contents: read
25-
steps:
26-
- uses: actions/checkout@v3
27-
- uses: actions/setup-node@v3
28-
with:
29-
node-version: 16
15+
node-version: 20
3016
registry-url: https://npm.pkg.github.com/
17+
- run: npm ci
3118
- run: npm build
3219
- run: npm publish
3320
env:

0 commit comments

Comments
 (0)