Skip to content

Commit

Permalink
Merge pull request #180 from cashubtc/next-version-pipeline
Browse files Browse the repository at this point in the history
add pipeline to build RC from staging branch
  • Loading branch information
Egge21M authored Oct 19, 2024
2 parents c35a992 + 4e4dc12 commit 7348cb0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/nextVersion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish Package to npmjs
permissions:
contents: write
id-token: write
on:
push:
branches:
- staging
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- run: npm i
- run: npm run compile
- run: npm version prerelease --preid=rc --no-git-tag-version
- run: git push
- run: npm publish --provenance --access public --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 7348cb0

Please sign in to comment.