Skip to content

Commit

Permalink
Set up deployment to GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinn committed Apr 14, 2024
1 parent a8bbf10 commit b854030
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@ on:
- pull_request
- push
jobs:
tests:
name: Tests
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: 16
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test
node-version: 20
- run: npm run test
- run: npm run build
#if: github.ref == 'refs/heads/main'
- uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build
#if: github.ref == 'refs/heads/main'

0 comments on commit b854030

Please sign in to comment.