Skip to content

chore(release): v2.1.3 #18

chore(release): v2.1.3

chore(release): v2.1.3 #18

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
- '!*-rc.[0-9]+'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm
- run: pnpm install
- run: pnpm lint
- name: Prepare tsconfig
run: pnpm dev:prepare
- run: pnpm typecheck
- run: pnpm test
- name: Create release
run: npx changelogen gh release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: pnpm prepack
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}