Skip to content

dmv/publis-to-npm

dmv/publis-to-npm #7

Workflow file for this run

name: dmv/publis-to-npm
on:
release:
types: [published]
jobs:
build:
name: Build and publish to npm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- run: yarn install --frozen-lockfile
- run: yarn npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_DMV_GRANULAR }}