abfedena
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
23 additions and
0 deletions
-
.github/workflows/main.yml
|
|
@ -0,0 +1,23 @@ |
|
|
|
|
|
name: Test Lighthouse Check |
|
|
|
|
|
on: [pull_request] |
|
|
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
|
|
lighthouse-check: |
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
steps: |
|
|
|
|
|
- uses: actions/checkout@master |
|
|
|
|
|
- run: mkdir ${{ github.workspace }}/tmp/artifacts |
|
|
|
|
|
- name: Run Lighthouse |
|
|
|
|
|
uses: foo-software/lighthouse-check-action@master |
|
|
|
|
|
with: |
|
|
|
|
|
awsAccessKeyId: ${{ secrets.LIGHTHOUSE_CHECK_AWS_ACCESS_KEY_ID }} |
|
|
|
|
|
awsBucket: ${{ secrets.LIGHTHOUSE_CHECK_AWS_BUCKET }} |
|
|
|
|
|
awsRegion: ${{ secrets.LIGHTHOUSE_CHECK_AWS_REGION }} |
|
|
|
|
|
awsSecretAccessKey: ${{ secrets.LIGHTHOUSE_CHECK_AWS_SECRET_ACCESS_KEY }} |
|
|
|
|
|
gitAuthor: ${{ github.actor }} |
|
|
|
|
|
gitBranch: ${{ github.ref }} |
|
|
|
|
|
gitHubAccessToken: ${{ secrets.LIGHTHOUSE_CHECK_GITHUB_ACCESS_TOKEN }} |
|
|
|
|
|
outputDirectory: ${{ github.workspace }}/tmp/artifacts |
|
|
|
|
|
urls: 'https://www.foo.software,https://www.foo.software/contact' |
|
|
|
|
|
sha: ${{ github.sha }} |
|
|
|
|
|
slackWebhookUrl: ${{ secrets.LIGHTHOUSE_CHECK_WEBHOOK_URL }} |