Skip to content

ci: replace shell hints #20

ci: replace shell hints

ci: replace shell hints #20

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request_target:
jobs:
backend-unit:
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.x
cache: npm
cache-dependency-path: package-lock.json
- name: Install dependencies
working-directory: ./
run: npm ci
- name: Check types
run: npm run types
- name: Run unit tests
run: npm run test
frontend-unit:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.x
cache: npm
cache-dependency-path: package-lock.json
- name: Install dependencies
working-directory: ./
run: npm ci
- name: Check types
run: npm run types
- name: Run unit tests
run: npm run test