Skip to content

Commit

Permalink
trying another method
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmarinacci committed Oct 18, 2023
1 parent 45aa8cf commit 4339f86
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ name: Node.js Package

#on: [push]

on: push
on:
push:
branches: [master]

jobs:
build:
Expand All @@ -32,9 +34,6 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- run: npm run build
- run: npm version patch
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.npm_token}}

0 comments on commit 4339f86

Please sign in to comment.