Skip to content

Commit

Permalink
Add workflow to publish NPM package
Browse files Browse the repository at this point in the history
  • Loading branch information
emersion committed Jun 24, 2024
1 parent 621bcb2 commit a851373
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,19 @@ jobs:
with:
name: build
path: dist/netzgrafik-frontend/

publish:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: build
path: .
- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
- run: npm publish --provenance --access public --tag "0.0.0+$GITHUB_SHA"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit a851373

Please sign in to comment.