name: E2E tests
on:
pull_request:
branches:
- master
jobs:
run_tests:
name: Run E2E tests on deployment success
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- name: Waiting for Vercel
uses: hrdtbs/wait-for-vercel@master
id: vercel
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn --frozen-lockfile
- uses: microsoft/playwright-github-action@v1
- run: yarn e2e
env:
BASE_URL: ${{ steps.vercel.outputs.target_url }}
- uses: actions/upload-artifact@v1
with:
name: download-screenshots
path: screenshots
-
Notifications
You must be signed in to change notification settings - Fork 0
hrdtbs/wait-for-vercel
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Vercel Previewが生成されるまで、Pull RequestトリガーのWorkflowの実行を遅延させるGithub Action
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published