-
Notifications
You must be signed in to change notification settings - Fork 4
35 lines (33 loc) · 880 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
web:
name: Web (Build, Lint, Check)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
node-version: [18.x, 20.x]
pnpm-version: [8]
python-version: ['3.11']
steps:
- uses: actions/checkout@v3
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
node-version: ${{ matrix.node-version }}
pnpm-version: ${{ matrix.pnpm-version }}
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pnpm install
- name: Run linting check
run: pnpm web lint
- name: Run diagnostics check
run: pnpm web check --output machine
- name: Run build
run: pnpm web build