Skip to content

chore: update build_npm.ts #15

chore: update build_npm.ts

chore: update build_npm.ts #15

Workflow file for this run

name: Release
on:
push:
tags:
- v0.*
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run : npm ci --ignore-scripts
- run : npm run test
- run : npm run prepare
- name: Publish to npm
run : |
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
cd .npm && npm publish --ignore-scripts --access=public
env :
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}