Skip to content

update config

update config #62

Workflow file for this run

name: build-initial
on:
push:
branches: ['ijjk/update-ci-workflow']
concurrency:
group: ${{ github.ref }}-build-initial
cancel-in-progress: true
env:
NAPI_CLI_VERSION: 2.14.7
TURBO_VERSION: 1.6.3
RUST_TOOLCHAIN: nightly-2023-03-09
PNPM_VERSION: 7.24.3
NODE_MAINTENANCE_VERSION: 16
NODE_LTS_VERSION: 18
TEST_CONCURRENCY: 6
# TODO: remove after testing
NEXT_TEST_CONTINUE_ON_ERROR: 'true'
jobs:
build-initial:
name: build-initial
uses: vercel/next.js/.github/workflows/build_reusable.yml@ijjk/update-ci-workflow
secrets: inherit
testDev:
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
group: [1, 2, 3]
needs: ['build-initial']
uses: vercel/next.js/.github/workflows/build_reusable.yml@ijjk/update-ci-workflow

Check failure on line 36 in .github/workflows/build_initial.yml

View workflow run for this annotation

GitHub Actions / build-initial

Invalid workflow file

The workflow is not valid. .github/workflows/build_initial.yml (Line: 36, Col: 5): Unexpected value 'uses' .github/workflows/build_initial.yml (Line: 37, Col: 5): Unexpected value 'with'
with:
afterBuild: NEXT_TEST_MODE=dev node run-tests.js --timings -g ${{ matrix.group }}/5 -c ${TEST_CONCURRENCY} --test-pattern '(development|e2e|unit)/.*\.test\.(js|jsx|ts|tsx)$'
secrets: inherit
testProd:
timeout-minutes: 10
needs: ['build-initial', 'testDev']
strategy:
fail-fast: false
matrix:
group: [1, 2, 3]
uses: vercel/next.js/.github/workflows/build_reusable.yml@ijjk/update-ci-workflow
with:
afterBuild: NEXT_TEST_MODE=dev node run-tests.js --timings -g ${{ matrix.group }}/5 -c ${TEST_CONCURRENCY} --test-pattern '(production|e2e)/.*\.test\.(js|jsx|ts|tsx)$'
secrets: inherit
testIntegration:
timeout-minutes: 10
needs: ['build-initial', 'testProd']
strategy:
fail-fast: false
matrix:
group: [1, 2, 3, 4, 5]
uses: vercel/next.js/.github/workflows/build_reusable.yml@ijjk/update-ci-workflow
with:
afterBuild: NEXT_TEST_MODE=dev node run-tests.js --timings -g ${{ matrix.group }}/5 -c ${TEST_CONCURRENCY} --test-pattern '(integration)/.*\.test\.(js|jsx|ts|tsx)$'
secrets: inherit