Skip to content

Merge pull request #4 from navikt/dependabot/npm_and_yarn/babel/trave… #15

Merge pull request #4 from navikt/dependabot/npm_and_yarn/babel/trave…

Merge pull request #4 from navikt/dependabot/npm_and_yarn/babel/trave… #15

name: npm publish
on:
push:
branches:
- main
jobs:
publish:
name: npm publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: "https://npm.pkg.github.com"
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}