This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
Merge pull request #382 from SELab-2/bugfix #775
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Frontend | |
on: [push] | |
jobs: | |
lint: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: cd frontend && npm install | |
- name: Lint code | |
run: cd frontend && npm run lint | |
- name: Run TypeScript checks | |
run: cd frontend && npx tsc --noEmit | |
- name: Build frontend | |
run: cd frontend && npm run build |