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