From 157b08f06b678d7c4e9ff31c4f13f89342fb8fce Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 4 Mar 2020 11:11:22 -0800 Subject: [PATCH] change to lerna publish --- .github/workflows/npmpublish.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index cf6133c6..ba734a18 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -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 @@ -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}}