Merge pull request #1921 from aluzzardi/website-tests

ci: enable website tests on PRs
This commit is contained in:
Andrea Luzzardi 2022-03-29 11:25:41 -07:00 committed by GitHub
commit 55849c459a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,3 @@
# TODO: https://github.com/dagger/dagger.io/issues/45
name: "Test Website"
on:
@ -6,9 +5,12 @@ on:
branches: [main]
paths:
- "website/**"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
- ".github/workflows/test-website.yml"
pull_request:
branches: [main]
paths:
- "website/**"
- ".github/workflows/test-website.yml"
jobs:
test-website:
@ -30,7 +32,6 @@ jobs:
install-command: yarn install --silent
start: |
yarn start
yarn start:withAuth
working-directory: ./website
- uses: actions/upload-artifact@v1
if: failure()

View File

@ -0,0 +1 @@
describe("Visit Docs website", function () {});