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

setup release branch

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