Skip to content

Switch to vitest & update deps #232

Switch to vitest & update deps

Switch to vitest & update deps #232

Workflow file for this run

name: Checks
on:
push:
branches:
- main
pull_request:
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 16.17
uses: actions/setup-node@v3
with:
node-version: 16.17
cache: "npm" # cache ~/.npm in case 'npm ci' needs to run
- name: Install NPM Dependencies
run: npm ci
- name: Check for formatting issues
run: npm run check:format
- name: Check for linting issues
run: npm run check:lint
tests:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 16.17
uses: actions/setup-node@v3
with:
node-version: 16.17
cache: "npm" # cache ~/.npm in case 'npm ci' needs to run
- name: Install NPM Dependencies
run: npm ci
- name: Test
run: npm run test
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 16.17
uses: actions/setup-node@v3
with:
node-version: 16.17
cache: "npm" # cache ~/.npm in case 'npm ci' needs to run
- name: Install NPM Dependencies
run: npm ci
- name: Build
run: npm run build