Skip to content

deploy.yml fix

deploy.yml fix #14

Workflow file for this run

name: Publish to Github NPM registry
on:
push:
branches:
- master
- release/*
jobs:
publish-gpr:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm i
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
access: public