Skip to content

docs: add example package to show usage (#29) #25

docs: add example package to show usage (#29)

docs: add example package to show usage (#29) #25

Workflow file for this run

name: Release npm package
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: '18.x'
- uses: pnpm/action-setup@v2
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm test
- run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_SEMANTIC_RELEASE }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}