Skip to content

Commit a432bda

Browse files
authored
Merge branch 'canary' into webpack/upgrade
2 parents 832ff22 + b5a8916 commit a432bda

File tree

16 files changed

+389
-183
lines changed

16 files changed

+389
-183
lines changed

.github/actions/next-stats-action/src/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ if (!allowedActions.has(actionInfo.actionName) && !actionInfo.isRelease) {
118118
// in case of noisy environment slowing down initial repo build
119119
await exec(buildCommand, false, { timeout: 5 * 60 * 1000 })
120120
}
121+
await fs.copy(
122+
path.join(__dirname, '../native'),
123+
path.join(dir, 'packages/next/native')
124+
)
121125

122126
logger(`Linking packages in ${dir}`)
123127
const pkgPaths = await linkPackages(dir)

.github/actions/next-stats-action/src/prepare/repo-setup.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ module.exports = (actionInfo) => {
100100
// make sure native binaries are included in local linking
101101
if (pkg === 'next') {
102102
pkgData.files.push('native')
103+
console.log(
104+
'using swc binaries: ',
105+
await exec(`ls ${path.join(path.dirname(pkgDataPath), 'native')}`)
106+
)
103107
}
104108
await fs.writeFile(
105109
pkgDataPath,

.github/workflows/build_native.yml

Lines changed: 0 additions & 107 deletions
This file was deleted.

0 commit comments

Comments
 (0)