Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Teo230 authored Jul 3, 2024
1 parent f1a6a84 commit 3c67a87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
name: Node.js Package

on:
release:
types: [created]
push:
branches: master

jobs:
build:
Expand All @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
- run: npm ci
# - run: npm test

Expand All @@ -28,6 +28,6 @@ jobs:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
- uses: JS-DevTools/npm-publish@v3.1.1
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 3c67a87

Please sign in to comment.