This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
aanpassen github actions #4
Workflow file for this run
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: npm install --prefix frontend | |
- name: Lint code | |
run: cd frontend && npx eslint frontend | |
- name: Run TypeScript checks | |
run: cd frontend && npx tsc --noEmit |