Commit a67ee727 authored by nextjs-bot's avatar nextjs-bot

setup release branch

parent 34916762
......@@ -60,7 +60,7 @@ jobs:
if [[ $(node ./scripts/check-is-release.js 2> /dev/null || :) == v* ]];
then
echo "value=production" >> $GITHUB_OUTPUT
elif [ '${{ github.ref }}' == 'refs/heads/canary' ]
elif [ '${{ github.ref }}' == 'refs/heads/next-16-1' ]
then
echo "value=staging" >> $GITHUB_OUTPUT
elif [ '${{ github.event_name }}' == 'workflow_dispatch' ]
......@@ -613,7 +613,7 @@ jobs:
publish-turbopack-npm-packages:
# Matches the commit message written by turbopack/xtask/src/publish.rs:377
if: "${{(github.ref == 'refs/heads/canary') && startsWith(github.event.head_commit.message, 'chore: release turbopack npm packages')}}"
if: "${{(github.ref == 'refs/heads/next-16-1') && startsWith(github.event.head_commit.message, 'chore: release turbopack npm packages')}}"
runs-on: ubuntu-latest
permissions:
contents: write
......
......@@ -2,7 +2,7 @@ name: build-and-test
on:
push:
branches: ['canary']
branches: ['next-16-1']
pull_request:
types: [opened, synchronize]
......@@ -612,7 +612,7 @@ jobs:
name: Test new tests for flakes (dev)
needs: ['optimize-ci', 'changes', 'build-native', 'build-next']
# test-new-tests-if
if: ${{ needs.optimize-ci.outputs.skip == 'false' && needs.changes.outputs.docs-only == 'false' }}
if: false
# test-new-tests-end-if
strategy:
......@@ -636,7 +636,7 @@ jobs:
name: Test new tests for flakes (prod)
needs: ['optimize-ci', 'changes', 'build-native', 'build-next']
# test-new-tests-if
if: ${{ needs.optimize-ci.outputs.skip == 'false' && needs.changes.outputs.docs-only == 'false' }}
if: false
# test-new-tests-end-if
strategy:
......@@ -657,10 +657,9 @@ jobs:
test-new-tests-deploy:
name: Test new tests when deployed
needs:
['optimize-ci', 'test-prod', 'test-new-tests-dev', 'test-new-tests-start']
needs: ['optimize-ci', 'test-prod', 'test-new-tests-start']
# test-new-tests-if
if: ${{ needs.optimize-ci.outputs.skip == 'false' }}
if: false
# test-new-tests-end-if
strategy:
......@@ -682,15 +681,9 @@ jobs:
test-new-tests-deploy-cache-components:
name: Test new tests when deployed (cache components)
needs:
[
'optimize-ci',
'test-cache-components-prod',
'test-new-tests-dev',
'test-new-tests-start',
]
needs: ['optimize-ci', 'test-cache-components-prod']
# test-new-tests-if
if: ${{ needs.optimize-ci.outputs.skip == 'false' }}
if: false
# test-new-tests-end-if
strategy:
......@@ -1020,10 +1013,6 @@ jobs:
'test-next-swc-wasm',
'test-turbopack-dev',
'test-turbopack-integration',
'test-new-tests-dev',
'test-new-tests-start',
'test-new-tests-deploy',
'test-new-tests-deploy-cache-components',
'test-turbopack-production',
'test-turbopack-production-integration',
'test-unit-windows',
......
......@@ -10,7 +10,8 @@
"publish": {
"npmClient": "npm",
"allowBranch": [
"canary"
"canary",
"next-16-1"
],
"registry": "https://registry.npmjs.org/"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment