Commit 22ba4cde authored by JJ Kasper's avatar JJ Kasper

update config for publish

parent 1153ad29
......@@ -2,7 +2,7 @@ name: build-and-deploy
on:
push:
branches: ['canary']
branches: ['canary', 'next-14-1']
workflow_dispatch:
env:
......
......@@ -2,7 +2,7 @@ name: build-and-test
on:
push:
branches: ['canary']
branches: ['canary', 'next-14-1']
pull_request:
types: [opened, synchronize]
......
......@@ -11,7 +11,7 @@
"publish": {
"npmClient": "npm",
"allowBranch": [
"canary"
"next-14-1"
],
"registry": "https://registry.npmjs.org/"
}
......
......@@ -48,7 +48,9 @@ const cwd = process.cwd()
`${path.join(nativePackagesDir, platform)}`,
`--access`,
`public`,
...(version.includes('canary') ? ['--tag', 'canary'] : []),
...(version.includes('canary')
? ['--tag', 'canary']
: ['--tag', 'next-14-1']),
],
{ stdio: 'inherit' }
)
......
......@@ -52,7 +52,7 @@ const cwd = process.cwd()
'--access',
'public',
'--ignore-scripts',
...(isCanary ? ['--tag', 'canary'] : []),
...(isCanary ? ['--tag', 'canary'] : ['--tag', 'next-14-1']),
],
{ stdio: 'inherit' }
)
......
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