fix(web): fix issue that prevented Northrend map from loading in map … #84
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: 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 |