We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fae287 commit b3a6533Copy full SHA for b3a6533
.github/workflows/test.yml
@@ -0,0 +1,38 @@
1
+name: Run all tests
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
+ workflow_dispatch:
9
10
+jobs:
11
+ test:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v2
16
17
+ - name: Install Node.js
18
+ uses: actions/setup-node@v3
19
+ with:
20
+ node-version: 16
21
22
+ - name: Clean install the project
23
+ run: npm ci
24
25
+ - name: Install Playwright
26
+ run: npx playwright install --with-deps
27
28
+ - name: Run Playwright tests
29
+ run: npm test
30
+ env:
31
+ APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }}
32
33
+ - uses: actions/upload-artifact@v2
34
+ if: always()
35
36
+ name: playwright-report
37
+ path: playwright-report/
38
+ retention-days: 30
0 commit comments