Skip to content

Commit

Permalink
Added some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
colecrouter committed Oct 28, 2024
1 parent 68b8e67 commit 760b5c5
Show file tree
Hide file tree
Showing 7 changed files with 1,671 additions and 28 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ concurrency:
cancel-in-progress: true

jobs:
build:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- uses: actions/checkout@v3
Expand All @@ -35,13 +38,6 @@ jobs:
uses: actions/upload-pages-artifact@v1
with:
path: ./build

deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v1
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v1
id: deployment
17 changes: 17 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Build and Deploy to Pages

on:
push

jobs:
tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22
cache: 'npm'
- run: npm ci
- run: npm run test
Loading

0 comments on commit 760b5c5

Please sign in to comment.