Skip to content

actually release

actually release #9

Workflow file for this run

name: Test, Release, Publish
on:
push:
branches: [main]
jobs:
test:
name: Release
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Build
run: pnpm build
- name: Lint
run: pnpm lint
- name: Check
run: pnpm check
- name: Package module
run: pnpm package
- name: Release
run: pnpm semantic-release
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}