Skip to content

AronBuzogany is running frontend tests πŸš€ #3

AronBuzogany is running frontend tests πŸš€

AronBuzogany is running frontend tests πŸš€ #3

Workflow file for this run

name: UGent-3
run-name: ${{ github.actor }} is running frontend tests πŸš€
on: [push, pull_request]
jobs:
Frontend-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- name: Go to frontend directory
run: cd frontend
- name: Install dependencies
run: npm i
- name: Build
run: npm run build
- name: Preview Web App
run: npm run preview &
- name: Running tests
run: npm test