Commit 597aa448 authored by Zack Tanner's avatar Zack Tanner

update publish configs

parent 14987d96
...@@ -2,7 +2,7 @@ name: build-and-deploy ...@@ -2,7 +2,7 @@ name: build-and-deploy
on: on:
push: push:
branches: ['canary'] branches: ['canary', '14-2-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', '14-2-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" "14-2-1"
], ],
"registry": "https://registry.npmjs.org/" "registry": "https://registry.npmjs.org/"
} }
......
...@@ -49,7 +49,9 @@ const cwd = process.cwd() ...@@ -49,7 +49,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', '14-2-1']),
], ],
{ stdio: 'inherit' } { stdio: 'inherit' }
) )
......
...@@ -53,7 +53,7 @@ const cwd = process.cwd() ...@@ -53,7 +53,7 @@ const cwd = process.cwd()
'--access', '--access',
'public', 'public',
'--ignore-scripts', '--ignore-scripts',
...(isCanary ? ['--tag', 'canary'] : []), ...(isCanary ? ['--tag', 'canary'] : ['--tag', '14-2-1']),
], ],
{ stdio: 'pipe' } { stdio: 'pipe' }
) )
......
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