-
-
Notifications
You must be signed in to change notification settings - Fork 10
33 lines (31 loc) · 814 Bytes
/
automated-tests.yaml
File metadata and controls
33 lines (31 loc) · 814 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
name: Automated Tests
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
permissions:
contents: read
jobs:
code-style-check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out repository code
uses: actions/checkout@v6
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: lts/*
cache: npm
- name: Install dependencies
run: npm ci
- name: Validate fixtures
run: npm run test:fixtures
- name: Verify golden artifacts
run: npm run golden:check
- name: Check spelling
run: node --run test:spelling
- name: Check linting
run: node --run lint
- run: echo "🍏 This job's status is ${{ job.status }}."