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]