-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: integrate cypress, playwright and puppeteer packages (#59)
- Loading branch information
Showing
54 changed files
with
5,617 additions
and
378 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
name: Bug report | ||
about: Report a bug that you encounter | ||
title: "Bug: " | ||
labels: bug | ||
assignees: "" | ||
--- | ||
|
||
## Bug description | ||
|
||
Describe the bug, context and use case. | ||
|
||
### Correct behavior expected | ||
|
||
Describe the correct behavior you expect to happen if there is no bug. | ||
|
||
### Wrong behavior observed | ||
|
||
Describe the wrong behavior that happen because of the bug. | ||
|
||
### Screenshot | ||
|
||
_Optional:_ Add a screenshot to help explain the problem. | ||
|
||
## Reproduce | ||
|
||
Describe a way to reproduce the bug. | ||
|
||
You can share a code snippet or give a step by step guide. | ||
|
||
## Setup | ||
|
||
Describe the setup you have when you encounter the bug : device, browser, library version... | ||
|
||
## Additional information | ||
|
||
Add any other information that can help us understand the bug or fix it. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "Feat: " | ||
labels: "enhancement" | ||
assignees: "" | ||
--- | ||
|
||
<!-- Rephrase the feature as a user story format : --> | ||
|
||
As a [user|client|developer], I would like to ... | ||
|
||
## Description | ||
|
||
Describe the feature, context and use case. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## Description | ||
|
||
Please explain the changes you made here. | ||
|
||
## Type of changes | ||
|
||
Select the correct labels: `bug`, `enhancement` or `documentation`. | ||
|
||
## Checklist | ||
|
||
Valid all before asking for a code review to `argos-ci/code` : | ||
|
||
- [ ] I have read the CONTRIBUTING doc | ||
- [ ] The commits message follows the [Conventional Commits' policy](https://www.conventionalcommits.org/) | ||
- [ ] Lint and unit tests pass locally | ||
- [ ] I have added tests if needed | ||
|
||
Optional checks: | ||
|
||
- [ ] My changes requires a change to the documentation | ||
- [ ] I have updated the documentation accordingly | ||
|
||
## Further comments | ||
|
||
*Optional* : Feel free to explain your motivation, share useful information or a feature screenshot. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: "Setup Playwright" | ||
description: "Install Playwright and dependencies" | ||
runs: | ||
using: "composite" | ||
steps: | ||
# Run npm ci and get Playwright version | ||
- name: 🏗 Prepare Playwright env | ||
shell: bash | ||
run: | | ||
PLAYWRIGHT_VERSION=$(npm ls --json @playwright/test | jq --raw-output '.dependencies["@playwright/test"].version') | ||
echo "PLAYWRIGHT_VERSION=$PLAYWRIGHT_VERSION" >> $GITHUB_ENV | ||
# Cache browser binaries, cache key is based on Playwright version and OS | ||
- name: 🧰 Cache Playwright browser binaries | ||
uses: actions/cache@v3 | ||
id: playwright-cache | ||
with: | ||
path: "~/.cache/ms-playwright" | ||
key: "${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}" | ||
restore-keys: | | ||
${{ runner.os }}-playwright- | ||
# Install browser binaries & OS dependencies if cache missed | ||
- name: 🏗 Install Playwright browser binaries & OS dependencies | ||
if: steps.playwright-cache.outputs.cache-hit != 'true' | ||
shell: bash | ||
run: pnpm --filter playwright exec playwright install chromium --with-deps | ||
|
||
# Install only the OS dependencies if cache hit | ||
- name: 🏗 Install Playwright OS dependencies | ||
if: steps.playwright-cache.outputs.cache-hit == 'true' | ||
shell: bash | ||
run: pnpm --filter playwright exec playwright install-deps |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Trigger https://argos-ci.com/docs build | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Call Vercel Build Hook | ||
run: curl -X POST https://api.vercel.com/v1/integrations/deploy/prj_CA7x4b2WrAC80ELqOxJJYcvCX8kn/SpLzd2cg6b |
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
Oops, something went wrong.