Skip to content

ci: adopt shared release workflow (#192) #580

ci: adopt shared release workflow (#192)

ci: adopt shared release workflow (#192) #580

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
- v*.x
push:
branches:
- main
- v*.x
merge_group: {}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
cache: pnpm
- name: Install
run: pnpm install
- name: Build
run: pnpm build
- name: Lint
run: pnpm lint
- name: Lint dependencies
run: pnpm lint:dependencies
- name: Lint package
run: pnpm lint:packages
- name: Lint types
run: pnpm lint:types
- name: Lint spell
run: pnpm lint:spell
- name: Test
run: pnpm coverage
- name: Typecheck
run: pnpm typecheck