-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
42 lines (35 loc) · 850 Bytes
/
build-check.yml
File metadata and controls
42 lines (35 loc) · 850 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
39
40
41
42
name: Build Check
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
branches:
- main
- v5.*
schedule:
# build runs every weekday at 4:15AM UTC
- cron: '15 4 * * *'
env:
FORCE_COLOR: 2
NODE: 24
jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, windows-latest, macOS-latest]
node-version: [24.x]
runs-on: ${{ matrix.platform }}
steps:
- name: Clone repository
uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: ${{ env.node-version }}
- name: Install npm dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps --only-shell chromium
- name: Run build
run: npm run build