Skip to content

Commit

Permalink
Test actions with --dry-run
Browse files Browse the repository at this point in the history
  • Loading branch information
alagane committed Mar 29, 2022
1 parent bc9131a commit 66ce69c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@

name: Node.js Package

on:
release:
types: [created]
# on:
# release:
# types: [created]
on: pull_request

jobs:
build:
Expand All @@ -28,6 +29,7 @@ jobs:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm publish
# - run: npm publish
- run: npm publish --dry-run
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 66ce69c

Please sign in to comment.