Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #35 from SELab-2/github_actions
Browse files Browse the repository at this point in the history
toevoegen github actions: linter + typescript checking
  • Loading branch information
ALBERICLOOS authored Mar 2, 2024
2 parents cb2b81f + e40092c commit 5ce938a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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 && npx eslint .
- name: Run TypeScript checks
run: cd frontend && npx tsc --noEmit

0 comments on commit 5ce938a

Please sign in to comment.