Skip to content

Commit

Permalink
fix(ci/cd): add deploy pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
martendebruijn committed Jul 20, 2024
1 parent 48ca905 commit 7eca695
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,18 @@ jobs:
node-version: 22
- run: npm ci
- run: npm run build

deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci
- run: npm config set allow-same-version true
- run: npm config set git-tag-version false
- run: npm run build
- run: npm version "$CI_COMMIT_TAG"
- run: npm publish

0 comments on commit 7eca695

Please sign in to comment.