chore(deps): bump express from 4.18.2 to 4.19.2 #45
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: "Test" | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
release: | |
name: "Test ${{ github.ref }}" | |
runs-on: ubuntu-20.04 | |
steps: | |
- | |
name: "Checkout source code" | |
uses: "actions/[email protected]" | |
with: | |
ref: ${{ github.ref }} | |
- | |
name: Set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- | |
name: Update packages | |
run: sudo apt update -qq | |
- | |
name: Install apt packages | |
run: sudo apt-get install -y libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++ xvfb libgles2-mesa-dev libgbm-dev libxxf86vm-dev | |
- | |
name: Install node dependencies | |
run: npm install | |
- | |
name: Download test data | |
run: wget -O test_data.zip https://github.com/acalcutt/tileserver-gl/releases/download/test_data/test_data.zip | |
- | |
name: Unzip test data | |
run: unzip -q test_data.zip -d test_data | |
- | |
name: Run tests | |
run: xvfb-run --server-args="-screen 0 1024x768x24" npm test |