Skip to content

update scripts

update scripts #2

Workflow file for this run

name: Website Checks
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
lint:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- name: Check formatting with Prettier
run: npm run lint:prettier
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build