Skip to content

Update publish-package.yml #3

Update publish-package.yml

Update publish-package.yml #3

name: Publish on NPM
on:
push:
branches: main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "20"
cache: "yarn"
- run: yarn install --immutable
- run: yarn build
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
dry-run: true