-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 924 Bytes
/
test.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
36
name: Quality Check
on: [push, pull_request]
jobs:
build:
name: Quality Check
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build
run: SKIP_ENV_VALIDATION=true pnpm build --filter=!@sleepymaid/website
- name: Check Build
run: pnpm check --filter=!@sleepymaid/website
- name: Test
run: pnpm test
- name: ESLint
run: pnpm lint
- name: Prettier
run: pnpm format