From e0ead07b479e1ffde35e882f0321cf78972dafd2 Mon Sep 17 00:00:00 2001 From: Matthew Sevey Date: Thu, 26 May 2022 12:58:34 -0400 Subject: [PATCH] move tests to yarn script --- .github/workflows/ci_release.yml | 15 +-------------- package.json | 2 +- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml index 0773788..c857cf3 100644 --- a/.github/workflows/ci_release.yml +++ b/.github/workflows/ci_release.yml @@ -37,22 +37,9 @@ jobs: with: node-version: ${{ matrix.node-version }} - tests: - name: "Jest Tests" - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v2 - with: - node-version: 16.x - - - run: yarn - - run: yarn jest - # Make a release if this is a manually trigger job, i.e. workflow_dispatch release: - needs: [hadolint, check, tests] + needs: [hadolint, check] runs-on: ubuntu-latest if: ${{ github.event_name == 'workflow_dispatch' }} outputs: diff --git a/package.json b/package.json index de6d196..7bae8f4 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "scripts": { "lint": "yarn prettier --check .", "format": "yarn prettier --write .", - "test": "echo 'Warning: no test script specified'", + "test": "yarn jest", "build": "echo 'Warning: no build script specified'" } }