forked from microsoft/axe-pipelines-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
36 lines (30 loc) · 954 Bytes
/
action.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
name: "axe selenium webdriver"
inputs:
static-site-dir:
description: 'Folder containing website content.'
required: false
runs:
using: 'composite'
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Dependencies
shell: bash
run: |
yarn install --frozen-lockfile
working-directory: ./typescript-selenium-webdriver-sample
- name: Run Tests
shell: bash
run: |
yarn test --ci
working-directory: ./typescript-selenium-webdriver-sample
- name: Publish Test Results
uses: actions/upload-artifact@v2
with:
name: test-results
path: ./typescript-selenium-webdriver-sample/test-results/junit.xml
- name: Publish Sarif Results
uses: actions/upload-artifact@v2
with:
name: CodeAnalysisLogs
path: ./typescript-selenium-webdriver-sample/test-results