Skip to content

6.6.3

6.6.3 #81

Workflow file for this run

name: NPM Publish
on:
release:
types: [published]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: 18
#cache: 'pnpm'
- run: pnpm i --frozen-lockfile
- run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
- run: pnpm lint
- run: pnpm test
publish-npm:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
- uses: pnpm/action-setup@v4
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: 18
#cache: 'pnpm'
registry-url: https://registry.npmjs.org/
- run: pnpm i --frozen-lockfile
- run: pnpm -r publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}