Skip to content

Commit 7889b9b

Browse files
committed
build: fix publish github ci/cd
1 parent aaec45e commit 7889b9b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
publish:
2626
runs-on: ubuntu-latest
2727
steps:
28-
- uses: actions/checkout@v2
28+
- uses: actions/checkout@v3
2929
- name: Setup .npmrc file to publish to npm
30-
uses: actions/setup-node@v2
30+
uses: actions/setup-node@v3
3131
with:
32-
node-version: '14.x'
32+
node-version: '16.x'
3333
registry-url: 'https://registry.npmjs.org'
3434
- name: Install modules
3535
run: npm install
@@ -40,9 +40,9 @@ jobs:
4040
env:
4141
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4242
- name: Setup .npmrc file to publish to GitHub Packages
43-
uses: actions/setup-node@v1
43+
uses: actions/setup-node@v3
4444
with:
45-
node-version: '14.x'
45+
node-version: '16.x'
4646
registry-url: 'https://npm.pkg.github.com'
4747
scope: '@fasenderos'
4848
- run: npm run addscope

0 commit comments

Comments
 (0)