File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Next Build Deploy Test Push
2+
3+ on :
4+ schedule :
5+ - cron : " 30 3 * * 0" # Runs every Sunday at 03:30 UTC
6+ workflow_dispatch : # Allows manual triggering
7+
8+ jobs :
9+ build-and-deploy :
10+ runs-on : ubuntu-latest
11+
12+ permissions :
13+ # Give the default GITHUB_TOKEN write permission to commit and push the
14+ # added or changed files to the repository.
15+ contents : write
16+
17+ steps :
18+ - name : Checkout Repository
19+ uses : actions/checkout@v4
20+ with :
21+ repository : eelab-dev/EEcircuit
22+
23+ - name : Update Dependencies
24+ run : npx --yes npm-check-updates -u
25+
26+ - name : Install Dependencies
27+ run : npm install
28+
29+ - name : Build locally
30+ run : npm run build
31+
32+ - name : Install Playwright Browsers
33+ run : npx playwright install --with-deps
34+
35+ - name : Run Playwright tests
36+ run : npx playwright test -g "EEcircuit Prod"
37+
38+ - uses : actions/upload-artifact@v4
39+ if : always()
40+ with :
41+ name : playwright-report
42+ path : playwright-report/
43+ retention-days : 30
You can’t perform that action at this time.
0 commit comments