Skip to content

Update package.json

Update package.json #4

Workflow file for this run

name: 'publish npm'
on:
push:
branches: [master]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
- name: install packages
run: yarn install
- name: publish
run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}