-
Notifications
You must be signed in to change notification settings - Fork 12
36 lines (28 loc) · 766 Bytes
/
check.yml
File metadata and controls
36 lines (28 loc) · 766 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
name: Check
on:
push:
branches:
- "main"
pull_request:
jobs:
main:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [24]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "${{ matrix.node-version }}"
- uses: actions/cache@v4
id: cache-node_modules
with:
path: node_modules
key: internal-node_modules-${{ matrix.os }}-${{ matrix.node-version }}-${{ hashFiles('package.json', 'package-lock.json') }}
- if: steps.cache-node_modules.outputs.cache-hit != 'true'
run: npm ci --no-audit
env:
NO_ELM_TOOLING_INSTALL: 1
- run: npm run pretest