Skip to content

Commit

Permalink
feat(@dpc-sdp/nuxt-ripple-cli): update action versions, respect GitHu…
Browse files Browse the repository at this point in the history
…bs prerelease checkbox
  • Loading branch information
David Featherston committed Jul 2, 2024
1 parent c976b7a commit 7c91a1d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
packages: write
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
registry-url: 'https://npm.pkg.github.com/'
node-version: 20
Expand All @@ -25,10 +25,10 @@ jobs:
git config --global user.email "sdp.devs@dpc.vic.gov.au"
git config --global user.name "SDP Deploy"
- name: Bump version from release number
run: npm version ${{ github.event.release.name }} --allow-same-version
run: npm version ${{ github.event.release.name }} --no-git-tag-version
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to GH Package registry
run: npm publish
run: npm publish --tag ${{ github.event.release.prerelease && 'alpha' || 'latest' }}
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7c91a1d

Please sign in to comment.