Skip to content

build(deps): bump tmp from 0.2.3 to 0.2.6 in /client #7

build(deps): bump tmp from 0.2.3 to 0.2.6 in /client

build(deps): bump tmp from 0.2.3 to 0.2.6 in /client #7

name: Webapp-test on main and developer branch
on:
pull_request:
branches:
- main
- developer
paths:
- 'client/**'
workflow_dispatch:
jobs:
test-web-application:
name: 'Run unit tests for web-application'
runs-on: ubuntu-latest
env:
VITE_POSTGREST_URL: ${{ secrets.POSTGREST_URL }}
VITE_UPLOAD_URL: ${{ secrets.UPLOAD_URL }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Dependencies
run: npm install
working-directory: ./client
- name: Install Playwright Browsers
run: npx playwright install
working-directory: ./client
- name: Run Tests
run: npm run test
working-directory: ./client
lint-web-application:
name: 'Lint code for web-application'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Dependencies
run: npm install
working-directory: ./client
- name: Check for linting issues
run: npm run lint
working-directory: ./client