Skip to content

Bump next from 14.1.1 to 15.1.0 #782

Bump next from 14.1.1 to 15.1.0

Bump next from 14.1.1 to 15.1.0 #782

Workflow file for this run

name: Test and Deploy
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v4
- name: Install πŸ”§
run: npm install
- name: Lint πŸ”§
run: npm run lint
- name: Typecheck πŸ”§
run: npm run typecheck
- name: Test πŸ”§
run: npm test
- name: Build πŸ”§
run: npm run build
- name: E2E πŸ”§
run: |
npx playwright install-deps
npm run test-e2e-ci
- name: Lighthouse πŸ’‘
run: npm run test-lighthouse
build-and-deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: test
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v4
- name: Install πŸ”§
run: npm install
- name: Build πŸ”§
run: |
npm run build
touch out/.nojekyll
- name: Deploy πŸš€
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: out # The folder the action should deploy.