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

update config for publish

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