-
-
Notifications
You must be signed in to change notification settings - Fork 56
37 lines (37 loc) · 994 Bytes
/
Copy pathcheck.yml
File metadata and controls
37 lines (37 loc) · 994 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
name: Check
on:
push:
branches:
- main
pull_request:
types: [opened, edited, reopened, synchronize]
branches:
- "**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
env:
NODE_OPTIONS: --max_old_space_size=10240
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Setup pnpm and node@24
uses: pnpm/setup@5d160c5bc68a09337ad0d5654e237e03253b5879 # v1
with:
runtime: node@24
install: false
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build packages
run: node --run build
- name: Check
run: node --run lint
- name: Verify rules docs
run: node --run check:docs