Skip to content

fix build

fix build #48

Workflow file for this run

name: Publish
on: [push]
jobs:
test:
if: contains(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: yarn
- run: yarn test
- run: yarn buildpackage
- name: Publish package
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
yarn publish --access public