Skip to content

Commit

Permalink
Merge pull request #21 from navikt/github-npm-registry
Browse files Browse the repository at this point in the history
Publiser til GitHub NPM registry
  • Loading branch information
oddgfa authored Jul 3, 2024
2 parents a01a173 + 79db0ea commit 2fccac1
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 2fccac1

Please sign in to comment.