Skip to content

feat: build server only components for RSC #1

feat: build server only components for RSC

feat: build server only components for RSC #1

Workflow file for this run

name: Test
on:
pull_request:
branches:
- '**'
concurrency:
group: tests-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: true
name: lint and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/cache@v4
with:
path: |
~/.npm
${{ github.workspace }}/.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
- run: npm ci
- run: npm run web-components-react-wrapper:build
- run: npm run lint
- run: npm run app:build
- run: npm run cdn-build:build
- run: npm run docs:build