From f4b33978be98a100d40e03352c4f0d695d867ba4 Mon Sep 17 00:00:00 2001 From: Mike Summerfeldt <20338451+IT-MikeS@users.noreply.github.com> Date: Mon, 13 Nov 2023 12:22:54 -0500 Subject: [PATCH] chore: allow dev builds to publish for PR's (#1879) --- .github/workflows/dev-releases-for-pr.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dev-releases-for-pr.yml b/.github/workflows/dev-releases-for-pr.yml index c7dbe7dfa..e70701012 100644 --- a/.github/workflows/dev-releases-for-pr.yml +++ b/.github/workflows/dev-releases-for-pr.yml @@ -71,9 +71,11 @@ jobs: - run: npm install - env: PR_NUMBER: ${{ github.event.pull_request.number }} + GH_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: | npm version prerelease --no-git-tag-version -f --preid dev-$PR_NUMBER-$(date +%Y%m%dT%H%M%S) - npm publish --tag dev --dry-run + npm publish --tag dev working-directory: ${{ matrix.plugin }} - name: get-npm-version id: package-version