Skip to content

Merge pull request #90 from shammy642/make_the_rest_darkmode #309

Merge pull request #90 from shammy642/make_the_rest_darkmode

Merge pull request #90 from shammy642/make_the_rest_darkmode #309

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Frontend CI
on:
push:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'npm'
- name: Frontend - install dependencies
run: npm install
- name: Frontend - build
run: npm run build --if-present
- name: Frontend - run tests
run: npm run test