Skip to content

chore(web): switch to MapControls in map viewer #69

chore(web): switch to MapControls in map viewer

chore(web): switch to MapControls in map viewer #69

Workflow file for this run

name: CI
on:
push:
branches:
- master
paths:
- packages/spelunker-web/**
- .github/workflows/web-ci.yml
pull_request:
branches:
- master
paths:
- packages/spelunker-web/**
- .github/workflows/web-ci.yml
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- '16'
- '18'
name: Node ${{ matrix.node }}
env:
API_URI: 'http://localhost:3001/graphql'
DEBUG: 'spelunker*'
PIPELINE_URI: 'http://localhost:3001/pipeline'
DATA_URI: 'http://localhost:3001/data'
MINIMAP_URI: 'http://localhost:3001/minimap'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Cache Node modules
uses: actions/cache@v2
id: cache-node
with:
key: node-${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('./packages/spelunker-web/package-lock.json') }}
path: ~/.npm
- name: Install Node modules
run: npm install
working-directory: ./packages/spelunker-web
- name: Lint
run: npm run lint
working-directory: ./packages/spelunker-web
- name: Build
run: npm run build
working-directory: ./packages/spelunker-web