Skip to content

2.0: tooling upgrades #22

2.0: tooling upgrades

2.0: tooling upgrades #22

Workflow file for this run

name: JS CI
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
jobs:
typescript-ci:
name: Typescript (Node ${{ matrix.node }}, pnpm ${{ matrix.pnpm }}) - ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os:
- ubuntu-latest
node:
- 18
- 20
pnpm:
- 8
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: ${{ matrix.pnpm }}
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm test
- run: pnpm lint
- run: |
pnpm format:check || {
pnpm format
git diff
exit 1
}