Skip to content

1.2.2

1.2.2 #28

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: Build for browser
run: npm run build:browser
- name: Run tests
run: npm test