diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000000..5f1b76aa52a --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +name: Integration Tests + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + job: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] + node: ['10', '12', '14'] + steps: + - uses: actions/checkout@v2 + - name: Setup node + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - name: Install packages + run: yarn --no-progress --non-interactive --no-lockfile + - name: Run integration tests + run: yarn test:integration diff --git a/test/integration/index.test.js b/test/integration/index.test.js index b9bc8206bea..5cd123c25b0 100644 --- a/test/integration/index.test.js +++ b/test/integration/index.test.js @@ -64,7 +64,6 @@ describe('create-react-app', () => { it('uses npm as the package manager', async () => { await run([projectName, '--use-npm'], { cwd: __dirname, - stdio: 'inherit', }); // Assert for the generated files @@ -81,7 +80,6 @@ describe('create-react-app', () => { it('creates a project in the current based on the typescript template', async () => { await run([projectName, '--template', 'typescript'], { cwd: __dirname, - stdio: 'inherit', }); // Assert for the generated files