Skip to content

Fix workflow 4

Fix workflow 4 #8

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: '20.15.1'
- name: Clear npm cache
run: npm cache clean --force
- name: Install npm
run: npm install -g [email protected] # Adjust based on your local version
- name: Install dependencies
run: |
cd frontend/
npm install --legacy-peer-deps
- name: List directory contents
run: ls -R frontend/
- name: Print npm config
run: npm config ls
- name: Run tests
run: |
cd frontend/
npm test