Skip to content

Update dependencies #724 #1398

Update dependencies #724

Update dependencies #724 #1398

Workflow file for this run

name: Lint & Test
on: [push, pull_request]
env:
DISABLE_SERVICE_WORKER: "true"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Read .nvmrc
run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT
id: nvm
- name: Use Node.js ${{ steps.nvm.outputs.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ steps.nvm.outputs.NODE_VERSION }}
cache: "npm"
- name: Install dependencies 🔧
run: npm ci
- name: Lint 🔍
run: npm run lint
- name: Cypress 🔬
uses: cypress-io/github-action@v6
with:
build: npm run build
start: npx http-server dist/ -p 3000 -s
wait-on: http://localhost:3000
config: baseUrl=http://localhost:3000