Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jifalops committed Nov 18, 2024
1 parent 3ca5ea7 commit 4185ee0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# Based on https://github.com/marketplace/actions/deploy-pr-preview#usage.

name: Deploy PR previews

on:
pull_request:
draft: false
branches:
- main
types:
Expand All @@ -19,7 +19,8 @@ on:
- 'static/**'
- '.env'
- '.env.*'

permissions:
contents: write
concurrency: preview-${{ github.ref }}

jobs:
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches: main
pull_request:
draft: false
branches: main
jobs:
test:
Expand All @@ -20,12 +21,8 @@ jobs:
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
run: |
npx playwright install --with-deps
npm ci
- name: Run tests
run: npm run test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30
2 changes: 2 additions & 0 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
});
</script>

<header></header>
<main>
<slot />
</main>
<footer></footer>

0 comments on commit 4185ee0

Please sign in to comment.