From 5c2f30585342bcd8aaf926407c863099d256d174 Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Wed, 26 Aug 2020 22:25:37 -0700 Subject: [PATCH] fix(build): switch to action for publish (#308) --- .github/publish.yml | 2 -- .github/workflows/release-please.yml | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 .github/publish.yml diff --git a/.github/publish.yml b/.github/publish.yml deleted file mode 100644 index e933b632..00000000 --- a/.github/publish.yml +++ /dev/null @@ -1,2 +0,0 @@ -project: oss-automation -secretId: node-tooling diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 6a9b8872..40c5cf69 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -17,10 +17,15 @@ 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]