Skip to content

fix install scripts #36

fix install scripts

fix install scripts #36

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Clean install dependencies
run: |
rm -rf node_modules
rm -f package-lock.json
npm install
- name: Build the project
run: npm run build
- name: Copy data to public directory
run: node build-scripts/copyDataToPublic.js
- name: Build for browser
run: npm run build:browser
- name: Run tests
run: npm test