From 5d3c6c29a9126248ba601920d9cf87c78e161ff5 Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Wed, 26 Aug 2020 22:35:57 -0700 Subject: [PATCH] fix(build): fixing publication (#310) --- .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 }}