Skip to content

fix: update publish script #12

fix: update publish script

fix: update publish script #12

Workflow file for this run

on:
push:
branches: master
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: npm i
- run: npm run test
- run: npm run build
- uses: JS-DevTools/npm-publish@v3
with:
package: build
token: ${{ secrets.NPM_TOKEN }}