2.0.2 #155
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 mapgl-gltf plugin | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
jobs: | |
typings-validation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- run: PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true npm ci | |
- run: npm run build | |
- run: npm run test:typings | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build container and run tests | |
run: docker compose up --build --exit-code-from test test | |
- uses: actions/upload-artifact@v3 | |
if: ${{ failure() }} | |
with: | |
path: test/screenshots/__screenshots__/**/__diff_output__/*.png | |
retention-days: 5 |