Commit ff04bc2a authored by JJ Kasper's avatar JJ Kasper

update ci config

parent 1755f4ff
...@@ -281,7 +281,7 @@ jobs: ...@@ -281,7 +281,7 @@ jobs:
# issues with turbo caching # issues with turbo caching
- name: pull build cache - name: pull build cache
if: ${{ matrix.settings.docker }} if: ${{ matrix.settings.docker }}
run: node ./scripts/pull-turbo-cache.js ${{ matrix.settings.target }} run: npm i -g turbo@${{ env.TURBO_VERSION }} && node ./scripts/pull-turbo-cache.js ${{ matrix.settings.target }}
- name: check build exists - name: check build exists
if: ${{ matrix.settings.docker }} if: ${{ matrix.settings.docker }}
......
...@@ -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-13']
pull_request: pull_request:
types: [opened, synchronize] types: [opened, synchronize]
......
...@@ -17,7 +17,12 @@ const { spawn } = require('child_process') ...@@ -17,7 +17,12 @@ const { spawn } = require('child_process')
} }
) )
child.stderr.on('data', (data) => {
process.stderr.write(data)
})
child.stdout.on('data', (data) => { child.stdout.on('data', (data) => {
process.stdout.write(data)
turboResult += data.toString() turboResult += data.toString()
}) })
...@@ -42,6 +47,7 @@ const { spawn } = require('child_process') ...@@ -42,6 +47,7 @@ const { spawn } = require('child_process')
// pull cache if it was available // pull cache if it was available
if (task.cache.local || task.cache.remote) { if (task.cache.local || task.cache.remote) {
console.log('Cache Status', task.taskId, task.hash, task.cache)
await new Promise((resolve, reject) => { await new Promise((resolve, reject) => {
const child = spawn( const child = spawn(
'/bin/bash', '/bin/bash',
......
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