-
-
Notifications
You must be signed in to change notification settings - Fork 40
31 lines (31 loc) · 728 Bytes
/
check.yml
File metadata and controls
31 lines (31 loc) · 728 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
name: Check
on:
push:
branches:
- main
pull_request:
types: [opened, edited, reopened, synchronize]
branches:
- "**"
env:
NODE_OPTIONS: --max_old_space_size=10240
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Workaround for GitHub Actions bug
- name: Enable Corepack
run: corepack enable
- name: Setup node@22
uses: actions/setup-node@v4
with:
node-version: 22
- name: Enable Corepack
run: corepack enable
- name: Install front-end dependencies
run: pnpm install
- name: Build front-end assets
run: pnpm run build
- name: Check
run: pnpm run lint