Skip to content

Merge pull request #3574 from ingef/fix/trigger-actions-on-mr-commit #1645

Merge pull request #3574 from ingef/fix/trigger-actions-on-mr-commit

Merge pull request #3574 from ingef/fix/trigger-actions-on-mr-commit #1645

Workflow file for this run

name: "Test Frontend"
on:
push:
branches:
# Always run on protected branches
- master
- develop
- release
pull_request:
paths:
- "frontend/**"
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: install dependencies
working-directory: ./frontend
run: npm install
- name: setup env variables
working-directory: ./frontend
run: cp .env.example .env
- name: lint
working-directory: ./frontend
run: npm run lint
- name: check format
working-directory: ./frontend
run: npm run checkformat
- name: test
working-directory: ./frontend
run: npm run test