From 426b00125e0a04080cc4cc3d258369c56c52a2f1 Mon Sep 17 00:00:00 2001 From: bcoe Date: Wed, 26 Aug 2020 22:35:24 -0700 Subject: [PATCH] fix(build): fixing publication --- .github/workflows/release-please.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 40c5cf69..03e79d39 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -17,15 +17,10 @@ jobs: - uses: actions/setup-node@v1 with: node-version: 14 - registry-url: 'https://external-dot-oss-automation.appspot.com/' - run: npm install env: PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true - run: npm run compile - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - if: ${{ steps.release.outputs.release_created }} - name: push Deno release run: | git config user.name github-actions[bot] @@ -38,3 +33,14 @@ jobs: git tag -a ${{ steps.release.outputs.tag_name }}-deno -m 'chore: ${{ steps.release.outputs.tag_name }} release' git push origin ${{ steps.release.outputs.tag_name }}-deno if: ${{ steps.release.outputs.release_created }} + - uses: actions/setup-node@v1 + with: + node-version: 14 + registry-url: 'https://external-dot-oss-automation.appspot.com/' + if: ${{ steps.release.outputs.release_created }} + - run: npm install + if: ${{ steps.release.outputs.release_created }} + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + if: ${{ steps.release.outputs.release_created }}