Skip to content

Commit

Permalink
change to lerna publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin committed Mar 4, 2020
1 parent 8f6cdf0 commit 157b08f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ on:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn install

publish-npm:
needs: build
runs-on: ubuntu-latest
Expand All @@ -14,6 +23,6 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: lerna publish
- run: yarn lerna publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 157b08f

Please sign in to comment.