Skip to content

Use an app to create fixture update PRs #461

Use an app to create fixture update PRs

Use an app to create fixture update PRs #461

Workflow file for this run

on:
pull_request: {}
push:
branches:
- main
name: Continuous Integration
jobs:
lint:
name: Lint Code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- name: ESLint
run: npx eslint .
- name: Prettier
run: npx prettier --check .
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- name: Build App
run: npm run build
unit-tests:
# Use MacOS so we can test in Safari.
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- name: Unit Tests (in Browser)
run: npm run test-unit
e2e-tests:
# Use MacOS so we can test in Safari.
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- name: End-to-End Tests
run: npm run test-e2e