Update NPM dependencies #261
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
- name: Init docksal project | |
run: | | |
fin init | |
fin sniff | |
fin shellcheck | |
fin admin | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
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 |