Skip to content

feat: upgrade to react 18 #235

feat: upgrade to react 18

feat: upgrade to react 18 #235

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, lts/*]
name: Node ${{ matrix.node }} build
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Check for vulnerabilities
run: npm audit --omit=dev
- name: Test development build
run: npm run test:coverage
- name: Create production build
run: npm run build
- name: Prune Development Dependencies
run: npm prune --omit=dev