Fix response time measurements for VesselDetail and VesselPath #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
push: | |
branches: ['**'] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: npm install | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
- name: Get submodules | |
run: git submodule update --init --recursive | |
- name: Build protos | |
run: | | |
mkdir proto | |
npm run build:protos:mac | |
- name: Run Jest tests | |
run: npm run test |