Skip to content

Commit 2c5bb89

Browse files
authored
Merge pull request #1339 from st3phhays/workflow
(build) Allow Astro to Deploy
2 parents fba2454 + c15db62 commit 2c5bb89

2 files changed

Lines changed: 4 additions & 16 deletions

File tree

.github/workflows/playwright.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,6 @@ jobs:
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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
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",

0 commit comments

Comments
 (0)