diff options
-rw-r--r-- | .github/workflows/publish.yml | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 29001f1..2eb82a2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,13 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: borales/actions-yarn@v2.0.0 + - uses: actions/setup-node@v1 with: - cmd: install - - uses: borales/actions-yarn@v2.0.0 - with: - cmd: build - - uses: borales/actions-yarn@v2.0.0 - "auth-token": ${{ secrets.NPM_AUTH_TOKEN }} - with: - cmd: publish + node-version: '13.x' + - run: yarn install + - run: yarn run build + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |