Skip to content

Add google analytics / migrate to npm #26

Add google analytics / migrate to npm

Add google analytics / migrate to npm #26

Workflow file for this run

name: Check Code Style/Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
client:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./client
steps:
- uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Clean install
run: npm ci
- name: Lint
run: npm run lint
- name: Check formatting
# run regardless of whether linting caught errors
if: ${{ success() || failure() }}
run: npm run style
server:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./server
steps:
- uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Clean install
run: npm ci
- name: Lint
run: npm run lint
- name: Check formatting
# run regardless of whether linting caught errors
if: ${{ success() || failure() }}
run: npm run style