File tree Expand file tree Collapse file tree 7 files changed +0
-339
lines changed Expand file tree Collapse file tree 7 files changed +0
-339
lines changed Original file line number Diff line number Diff line change 4848 with :
4949 path : ./dist/
5050
51- test :
52- needs : build
53- runs-on : ubuntu-latest
54- strategy :
55- matrix :
56- node-version : [22]
57- timeout-minutes : 15
58- steps :
59- - name : Checkout
60- uses : actions/checkout@v5
61-
62- - uses : pnpm/action-setup@v4
63- with :
64- version : 10
65-
66- - name : Use Node.js ${{ matrix.node-version }}
67- uses : actions/setup-node@v4
68- with :
69- node-version : ${{ matrix.node-version }}
70- cache : " pnpm"
71-
72- - name : Retrieve output from build step
73- uses : actions/download-artifact@v4
74- with :
75- name : github-pages
76- path : ./website-build
77-
78- - name : Decompress build step output
79- run : |
80- mkdir -p ./dist
81- tar -xf ./website-build/artifact.tar -C ./dist/ --strip-components=1
82-
83- - name : Install Dependencies
84- run : pnpm install
85-
86- - name : Install Playwright Browsers
87- run : pnpm exec playwright install --with-deps chromium firefox
88-
89- - name : Run Playwright tests
90- run : pnpm test:e2e
91-
92- - name : Upload Test Results
93- uses : actions/upload-artifact@v4
94- if : always()
95- with :
96- name : playwright-report
97- path : playwright-report/
98- retention-days : 30
99-
10051 deploy :
10152 needs :
10253 - build
Original file line number Diff line number Diff line change 66 "dev" : " astro dev" ,
77 "dev-host" : " astro dev --host" ,
88 "build" : " astro build" ,
9- "test:e2e" : " playwright test" ,
109 "preview" : " astro preview" ,
1110 "astro" : " astro"
1211 },
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments