-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 762 Bytes
/
Copy pathci.yml
File metadata and controls
38 lines (30 loc) · 762 Bytes
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
36
37
38
name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
name: Install pnpm
with:
run_install: |
- recursive: true
args: [--no-frozen-lockfile]
- name: Test
run: pnpm run --if-present --recursive --parallel test
- name: Build
run: pnpm run --if-present --recursive --parallel build
- name: Lint
run: pnpm run --if-present --recursive --parallel lint