Skip to content

Commit

Permalink
Use node 20 for publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Max J. Polster committed Mar 6, 2024
1 parent 0873433 commit be7d2f6
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: Publish

on:
push:
branches: release

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
registry-url: https://registry.npmjs.org/
scope: netatwork
- run: npm ci
- run: npm publish --access=public --@netatwork:registry=https://registry.npmjs.org/
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
name: Publish

on:
push:
branches: release

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
scope: netatwork
- run: npm ci
- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit be7d2f6

Please sign in to comment.