Skip to content

Commit

Permalink
Merge pull request #26 from dpc-sdp/feature/next-layer-release
Browse files Browse the repository at this point in the history
feat: update action versions, allow layer pre-releases
  • Loading branch information
lambry authored Jul 5, 2024
2 parents 155dfb3 + bb232d8 commit 92c1a5d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ 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: 18
node-version: 20
- name: Set Git credentials
run: |
git config --global user.email "[email protected]"
Expand All @@ -26,6 +26,6 @@ jobs:
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 }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 92c1a5d

Please sign in to comment.