Skip to content

Update dependencies (#9) #18

Update dependencies (#9)

Update dependencies (#9) #18

Workflow file for this run

name: Validate
# Lints, builds, and tests the project whenever a pull request is opened
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm install
# Because of this project's special setup, build must come before lint
- name: Build
run: npm run build
- name: Lint
run: npm run lint
# No tests
# - name: Test
# run: npm test