Skip to content

Commit

Permalink
TILES-5081 add test to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Berezin committed May 23, 2024
1 parent c4f76ce commit 323e025
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/prettier-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Prettier check

on: push

jobs:
prettier-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm run prettier
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test deck2gisLayer plugin

on:
push:
branches:
- '*'
tags-ignore:
- '*'

jobs:
run-tests:
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 test:screenshots
- uses: actions/upload-artifact@v3
if: ${{ failure() }}
with:
path: test/screenshots/__screenshots__/**/__diff_output__/*.png
retention-days: 5

0 comments on commit 323e025

Please sign in to comment.