Skip to content

Release

Release #7

Workflow file for this run

name: Release
on: workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: mskelton/setup-pnpm@v2
with:
node-version: '18.x'
- run: pnpm test
release:
needs: test
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: mskelton/setup-pnpm@v2
with:
node-version: '18.x'
- name: Build
run: pnpm build
- name: Release
run: pnpm semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.npm_token }}