Skip to content

Create analysis workspace #51

Create analysis workspace

Create analysis workspace #51

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- master
paths:
- 'pkg/**'
- '.github/workflows/ci.yml'
- '!**.md'
pull_request:
paths:
- 'pkg/**'
- '.github/workflows/ci.yml'
- '!**.md'
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
timeout-minutes: 5
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
fail-fast: false
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
cache: pnpm
- name: Install dependencies
run: pnpm install
- if: ${{ matrix.os == 'ubuntu-latest' }}
name: Lint
run: pnpm lint
- if: ${{ matrix.os == 'ubuntu-latest' }}
name: Typecheck
run: pnpm typecheck
- name: Run tests
run: pnpm test