Skip to content

Commit 4185ee0

Browse files
committed
Squashed commit of the following:
commit 02a28a076c28ea436d24ba1ebd52bd3683946be3 Author: Jacob Phillips <[email protected]> Date: Mon Nov 18 12:11:42 2024 -0500 skip draft PRs commit c8b32d2 Author: Jacob Phillips <[email protected]> Date: Mon Nov 18 12:06:28 2024 -0500 workflow fixes commit 6210589 Author: Jacob Phillips <[email protected]> Date: Mon Nov 18 12:01:27 2024 -0500 add empty header and footer to test PR previews
1 parent 3ca5ea7 commit 4185ee0

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/preview.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# Based on https://github.com/marketplace/actions/deploy-pr-preview#usage.
44

55
name: Deploy PR previews
6-
76
on:
87
pull_request:
8+
draft: false
99
branches:
1010
- main
1111
types:
@@ -19,7 +19,8 @@ on:
1919
- 'static/**'
2020
- '.env'
2121
- '.env.*'
22-
22+
permissions:
23+
contents: write
2324
concurrency: preview-${{ github.ref }}
2425

2526
jobs:

.github/workflows/test.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
push:
77
branches: main
88
pull_request:
9+
draft: false
910
branches: main
1011
jobs:
1112
test:
@@ -20,12 +21,8 @@ jobs:
2021
with:
2122
node-version: lts/*
2223
- name: Install dependencies
23-
run: npm ci
24+
run: |
25+
npx playwright install --with-deps
26+
npm ci
2427
- name: Run tests
2528
run: npm run test
26-
- uses: actions/upload-artifact@v4
27-
if: ${{ !cancelled() }}
28-
with:
29-
name: playwright-report
30-
path: playwright-report/
31-
retention-days: 30

src/routes/+layout.svelte

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
});
99
</script>
1010

11+
<header></header>
1112
<main>
1213
<slot />
1314
</main>
15+
<footer></footer>

0 commit comments

Comments
 (0)