Skip to content

Commit

Permalink
chore: allow dev builds to publish for PR's (#1879)
Browse files Browse the repository at this point in the history
  • Loading branch information
IT-MikeS authored Nov 13, 2023
1 parent 82bcb31 commit f4b3397
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dev-releases-for-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f4b3397

Please sign in to comment.