Skip to content

Commit

Permalink
Merge pull request #104 from mdoleh/publish-workflow-node-18
Browse files Browse the repository at this point in the history
Use Node 18 on publish workflow
  • Loading branch information
tlivings committed Oct 26, 2023
2 parents 032d4c9 + 1a6d273 commit 60c4faf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 18
- run: npm install
- run: npm run lint
- run: npm run cover
Expand All @@ -26,21 +26,20 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

# publish-gpr:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v1
# with:
# node-version: 12
# node-version: 18
# registry-url: https://npm.pkg.github.com/
# - run: npm ci
# - run: npm publish
Expand Down

0 comments on commit 60c4faf

Please sign in to comment.