Skip to content

Action script for tests, service tests, faculty ID #29

Action script for tests, service tests, faculty ID

Action script for tests, service tests, faculty ID #29

name: frontend-linting
on:
push:
branches: [main, development]
pull_request:
branches: [main, development]
workflow_dispatch:
jobs:
linting-checks:
runs-on: ubuntu-latest
steps:
- name: Add permission to remove contents of previous action script
run: echo ${{ secrets.SUDO }} | sudo -S chown -R $USER:$USER /home/selab2/actions-runner/_work/UGent-7/
- uses: actions/checkout@v4
- name: Install dependencies
run: cd frontend; npm install
- name: Run ESLint
run: cd frontend; npm run lint