feat: use stable version 4 #38
Workflow file for this run
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 | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test: | |
name: Test image execution | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build the image | |
run: docker build -t fabernovel/heart . | |
- name: Analyze the Heart website with Google Lighthouse | |
# /usr/heart matches the WORKDIR instruction in Dockerfile. | |
run: > | |
docker run --rm --volume "$(pwd)/ci/config:/usr/heart/config" | |
fabernovel/heart | |
lighthouse | |
--config config/lighthouse.json | |
--except-listeners mysql,slack |