Skip to content

Update package.json

Update package.json #5

Workflow file for this run

name: Publish to NPM
on:
push:
paths:
- 'scripts/package.json'
branches: [ main ]
jobs:
publish-npm:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./scripts
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}