Skip to content

chore: release v0.3.5 #15

chore: release v0.3.5

chore: release v0.3.5 #15

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: Install pnpm
uses: pnpm/[email protected]
with:
version: 8.7.4
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install
run: pnpm install
- name: PNPM build
run: pnpm build
- name: Test
run: pnpm test
- name: Config npm
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to npm
run: pnpm -r publish --access public --no-git-checks
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}