refactor landscape rendering; update star rendering to include viewpo… #472
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: Lint and test | |
on: [push, pull_request] | |
defaults: | |
run: | |
working-directory: ./website | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
nodejs: [18] | |
steps: | |
- uses: actions/checkout@v2 | |
# https://github.com/actions/setup-node | |
- uses: actions/setup-node@v2-beta | |
with: | |
node-version: ${{ matrix.nodejs }} | |
- run: npm install --prefix=../games/monster-steps && npm install --prefix=../games/nukes && npm install --prefix=../games/masterplan && npm install | |
- run: npm run lint | |
- run: npm run test | |
- run: npm run build --prefix=../games/monster-steps && npm run build --prefix=../games/nukes && npm install --prefix=../games/masterplan && npm run build |