From 367a7a565a70f43ea71be9a3e5c9797b74aa2129 Mon Sep 17 00:00:00 2001 From: Jared Palmer Date: Mon, 13 Jan 2020 10:13:13 -0500 Subject: [PATCH] Run tests in series with --runInBand (#429) * Try runInBand * Update readme * Change when tests should actually run * Remove --coverage flag --- .github/workflows/nodejs.yml | 6 ++++-- README.md | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 85bb0f542..6ba924f37 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -1,6 +1,8 @@ name: Node CI -on: [push, pull_request] +on: + pull_request: + types: [opened, synchronize, reopened] jobs: lint: @@ -42,4 +44,4 @@ jobs: run: yarn install --frozen-lockfile - name: Test package - run: yarn test + run: yarn test --runInBand diff --git a/README.md b/README.md index 261d22103..5beb9431a 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ Despite all the recent hype, setting up a new TypeScript (x React) library can b - [`tsdx build`](#tsdx-build) - [`tsdx test`](#tsdx-test) - [`tsdx lint`](#tsdx-lint) +- [Contributing](#contributing) - [Author](#author) - [License](#license) - [Contributors ✨](#contributors-)