Skip to content

Bump mermaid from 10.9.1 to 10.9.3 in /zbook_frontend (#63) #12

Bump mermaid from 10.9.1 to 10.9.3 in /zbook_frontend (#63)

Bump mermaid from 10.9.1 to 10.9.3 in /zbook_frontend (#63) #12

Workflow file for this run

name: TEST_FRONTEND
on:
pull_request:
branches:
- main
push:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Change directory to frontend
run: cd zbook_frontend
- name: Install dependencies
run: npm install
working-directory: zbook_frontend
- name: Run lint
run: npm run lint
working-directory: zbook_frontend
- name: Run build
run: npm run build
working-directory: zbook_frontend
- name: Run tests
run: npm test -- --updateSnapshot
working-directory: zbook_frontend