Skip to content

Commit

Permalink
Publiser til GitHub NPM registry
Browse files Browse the repository at this point in the history
  • Loading branch information
oddgfa committed Jul 3, 2024
1 parent a01a173 commit 79db0ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
with:
node-version: '16.13.1'
cache: 'npm'
registry-url: https://npm.pkg.github.com
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test
- name: Build
run: npm run build
- name: Publish
run: npx semantic-release
run: npm publish
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 79db0ea

Please sign in to comment.