forked from xdan/jodit
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (32 loc) · 1001 Bytes
/
Copy pathplaywright.yml
File metadata and controls
33 lines (32 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Playwright Tests
on:
push:
branches: [ main ]
tags-ignore: [ '*' ]
pull_request:
branches: [ main ]
jobs:
test:
if: ${{ !startsWith(github.event.head_commit.message, 'New version') }}
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: make build es=es2021 fat=true uglify=true
- name: Install Playwright Browsers
run: make screenshots-build-image
- name: Run Playwright tests
run: make screenshots-test es=es2021 fat=true min=true
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30