Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
09ce897f
Commit
09ce897f
authored
Jun 19, 2023
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
yarn pw script for CI
parent
a6d9602c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
checks.yml
.github/workflows/checks.yml
+4
-1
package.json
package.json
+1
-0
No files found.
.github/workflows/checks.yml
View file @
09ce897f
...
...
@@ -132,7 +132,10 @@ jobs:
run
:
yarn --frozen-lockfile --offline
-
name
:
Run PlayWright
run
:
HOME=/root ./playwright/make-envs-script.sh && NODE_OPTIONS=\"--max-old-space-size=4096\" ./node_modules/.bin/playwright test -c ./playwright-ct.config.ts --project=${{ matrix.project }}
run
:
yarn test:pw:ci
env
:
HOME
:
/root
PW_PROJECT
:
${{ matrix.project }}
-
name
:
Upload test results
if
:
always()
...
...
package.json
View file @
09ce897f
...
...
@@ -28,6 +28,7 @@
"test:pw"
:
"./playwright/make-envs-script.sh && NODE_OPTIONS=
\"
--max-old-space-size=4096
\"
playwright test -c playwright-ct.config.ts"
,
"test:pw:local"
:
"export NODE_PATH=$(pwd)/node_modules && rm -rf ./playwright/.cache && yarn test:pw"
,
"test:pw:docker"
:
"docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.32.0-focal ./playwright/run-tests.sh"
,
"test:pw:ci"
:
"yarn test:pw --project=$PW_PROJECT"
,
"test:jest"
:
"jest"
,
"test:jest:watch"
:
"jest --watch"
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment