Skip to content

v0.47.1

v0.47.1 #48

name: Publish to NPM
on:
release:
types: [published]
jobs:
publish-npm:
name: Publish to NPM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: yarn build
- run: yarn lint
- run: yarn test
env:
CI: true
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
publish-docs:
needs: publish-npm
uses: ./.github/workflows/publish-docs.yml