Skip to content

Upgrade to Next.js 16 with Turbopack and React 19 #4

Upgrade to Next.js 16 with Turbopack and React 19

Upgrade to Next.js 16 with Turbopack and React 19 #4

Workflow file for this run

name: PR Checks
on:
pull_request:
branches: [ "main" ]
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run test suite
run: npm test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
continue-on-error: true
docker-build:
name: Docker Build Test
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker image (no push)
uses: docker/build-push-action@v6
with:
context: .
push: false
tags: scurry:pr-${{ github.event.pull_request.number }}
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
APP_QB_URL=http://localhost:8080
provenance: false
sbom: false