New version 4.0.0-beta.97 Read more https://github.com/xdan/jodit/blo… #252
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: Run screenshot tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 #Setup Node | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Run screenshot Tests | |
run: | | |
npm ci | |
make build es=es2021 fat=true uglify=true | |
make screenshots-build-image | |
make screenshots-test es=es2021 fat=true min=true | |
- name: Archive production artifacts | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: screenshots | |
path: | | |
src/**/__image_snapshots__/**/*.png |