Skip to content

Bump actions/setup-node from 3 to 4 (#108) #167

Bump actions/setup-node from 3 to 4 (#108)

Bump actions/setup-node from 3 to 4 (#108) #167

Workflow file for this run

on:
pull_request: {}
push:
branches:
- main
name: Continuous Integration
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16
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: 16
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: 16
cache: npm
- name: Install dependencies
run: npm ci
- name: End-to-End Tests
run: npm run test-e2e