File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout repository using git
13- uses : actions/checkout@v4
14- - name : Setup Node.js
15- uses : actions/setup-node@v6
16- with :
17- node-version-file : ' package.json'
18- - name : Build site
19- run : yarn build
20- - name : Run Playwright tests
21- run : yarn playwright
22- - uses : actions/upload-artifact@v4
23- if : always()
24- with :
25- name : playwright-report
26- path : playwright-report/
27- retention-days : 14
13+ uses : actions/checkout@v6
14+ - name : Install, build, and upload your site
15+ uses : withastro/action@v6
Original file line number Diff line number Diff line change 2020 "astro" : " npx astro" ,
2121 "audit" : " yarn npm audit --all --recursive --no-deprecations" ,
2222 "browsers" : " npx playwright install --with-deps" ,
23- "build" : " yarn dependencies && yarn telemetry && yarn choco-theme && yarn browsers && npx astro build" ,
23+ "build" : " yarn dependencies && yarn telemetry && yarn choco-theme && npx astro build" ,
2424 "build-copy-theme" : " npx tsx node_modules/@chocolatey-software/build-tools/build/copy-theme.ts docs" ,
2525 "build-purge-css" : " npx tsx node_modules/@chocolatey-software/build-tools/build/purge-css.ts docs" ,
2626 "build-copy-playwright" : " npx tsx node_modules/@chocolatey-software/build-tools/build/copy-playwright.ts docs" ,
You can’t perform that action at this time.
0 commit comments