Skip to content

fix: fix publishing #34

fix: fix publishing

fix: fix publishing #34

Workflow file for this run

name: release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
test:
uses: ./.github/workflows/test-jobs.yaml
release:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v3
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
publish:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version: latest
cache: pnpm
registry-url: 'https://registry.npmjs.org/'
- run: pnpm i
- run: pnpm build
- run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}