Skip to content

chore: release v0.3.0 #7

chore: release v0.3.0

chore: release v0.3.0 #7

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup pnpm
run: corepack enable && corepack prepare
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Set NPM access token
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
- name: Publish to NPM
run: pnpm publish --no-git-checks
- name: Publish Github Release
run: npx changelogithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}