Skip to content

test: add mapService test and replace jest with vitest #11

test: add mapService test and replace jest with vitest

test: add mapService test and replace jest with vitest #11

Workflow file for this run

name: Dry-Run
on:
pull_request:
branches: [ $default-branch ]
push:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install deps
run: yarn --frozen-lockfile
env:
GRAPHHOPER_API_KEY: ${{ secrets.GRAPHHOPER_API_KEY }}
OPENROUTESERVICE_API_KEY: ${{ secrets.OPENROUTESERVICE_API_KEY }}
GEOAPIFY_API_KEY: ${{ secrets.GEOAPIFY_API_KEY }}
THUNDERFOREST_API_KEY: ${{ secrets.THUNDERFOREST_API_KEY }}
MAPTILER_API_KEY: ${{ secrets.MAPTILER_API_KEY }}
- name: Lint
run: yarn lint
- name: Build server
run: yarn build:server
- name: Build client
run: yarn build:client
- name: Test
run: yarn test