-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (42 loc) · 1.31 KB
/
test-local.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
name: Test local build
on:
workflow_dispatch: # enable run button on github.com
pull_request:
jobs:
install-docksal:
name: Build docksal project
runs-on: ubuntu-latest
steps:
- name: Run docksal installer
run: curl -fsSL https://get.docksal.io | bash
- name: Display docksal system info
run: fin sysinfo
- name: Checkout branch
uses: actions/checkout@v4
- name: Init docksal project
run: |
fin init
fin sniff
fin shellcheck
fin admin
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "npm"
cache-dependency-path: "./package-lock.json"
- name: Install dependencies
run: npm install
- name: Scan site
uses: double-great/accessibility-scan-action@main
with:
url: "http://aggro.docksal.site"
snapshot: true
- name: Upload report and snapshots as artifact
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: "Accessibility report with snapshots"
path: |
${{ github.workspace }}/_accessibility-reports/index.html
${{ github.workspace }}/_accessibility-reports/key_value_stores/scan-results/*.jpeg