-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (47 loc) · 1.57 KB
/
main-cloud.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 15.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: |
npm install
- name: Run Axe Playwright validations
continue-on-error: true
run: |
npx playwright test
# Import results back to Xray (Server and Cloud)
# - name: "Import results to Xray (server/DC)"
# uses: mikepenz/xray-action@v2.3.0
# with:
# username: ${{ secrets.JIRASERVER_USERNAME }}
# password: ${{ secrets.JIRASERVER_PASSWORD }}
# xrayCloud: "false"
# xrayBaseUrl: ${{ secrets.JIRASERVER_BASE_URL }}
# testFormat: "junit"
# testPaths: "xray-report.xml"
# testPlanKey: "${{ secrets.XRAYSERVER_TEST_PLAN_KEY }}"
# projectKey: "${{ secrets.JIRASERVER_PROJECT_KEY }}"
- name: "Import results to Xray (cloud)"
uses: mikepenz/xray-action@v3.0.4
with:
username: "${{ secrets.XRAYCLOUD_CLIENT_ID }}"
password: "${{ secrets.XRAYCLOUD_CLIENT_SECRET }}"
xrayCloud: "true"
testFormat: "junit"
testPaths: "xray-report.xml"
testPlanKey: "${{ secrets.XRAYCLOUD_TEST_PLAN_KEY }}"
projectKey: "${{ secrets.JIRACLOUD_PROJECT_KEY }}"