Skip to content

Commit 60c4faf

Browse files
authored
Merge pull request #104 from mdoleh/publish-workflow-node-18
Use Node 18 on publish workflow
2 parents 032d4c9 + 1a6d273 commit 60c4faf

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: .github/workflows/npmpublish.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-node@v1
1616
with:
17-
node-version: 12
17+
node-version: 18
1818
- run: npm install
1919
- run: npm run lint
2020
- run: npm run cover
@@ -26,21 +26,20 @@ jobs:
2626
- uses: actions/checkout@v2
2727
- uses: actions/setup-node@v1
2828
with:
29-
node-version: 12
29+
node-version: 18
3030
registry-url: https://registry.npmjs.org/
3131
- run: npm install
3232
- run: npm publish
3333
env:
3434
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
35-
3635
# publish-gpr:
3736
# needs: build
3837
# runs-on: ubuntu-latest
3938
# steps:
4039
# - uses: actions/checkout@v2
4140
# - uses: actions/setup-node@v1
4241
# with:
43-
# node-version: 12
42+
# node-version: 18
4443
# registry-url: https://npm.pkg.github.com/
4544
# - run: npm ci
4645
# - run: npm publish

0 commit comments

Comments
 (0)