Skip to content

Commit

Permalink
update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahrainbow committed Jul 8, 2021
1 parent bd9b3b0 commit a76459d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@

name: Node.js Package
on:
# release:
# types: [created]
push:
branches:
- github-actions-test
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -18,6 +15,6 @@ jobs:
node-version: '12.18.4'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run publish-dry
- run: npm run publish-public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit a76459d

Please sign in to comment.