From 66c8a5c48f250b0c9eb55eb6dedcf552746f7303 Mon Sep 17 00:00:00 2001 From: eric-burel Date: Tue, 23 Feb 2021 19:15:22 +0100 Subject: [PATCH] add build step to unit test workflow --- .github/workflows/test_unit.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test_unit.yml b/.github/workflows/test_unit.yml index ccdf7e77..b83eb085 100644 --- a/.github/workflows/test_unit.yml +++ b/.github/workflows/test_unit.yml @@ -21,23 +21,24 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2.1.5 + - run: npm i -g yarn # Not necessary on Github but useful to test locally with `act` - run: yarn install --frozen-lockfile --check-files - # This workflow contains a single job called "build" - unit-test: - # The type of runner that the job will run on - runs-on: ubuntu-latest - needs: install + # This workflow contains a single job called "build" + #unit-test: + # The type of runner that the job will run on + # runs-on: ubuntu-latest + # needs: install - # Steps represent a sequence of tasks that will be executed as part of the job - steps: + # Steps represent a sequence of tasks that will be executed as part of the job + # steps: - run: yarn run test:unit - build: - runs-on: ubuntu-latest - needs: install - - steps: + #build: + # runs-on: ubuntu-latest + # needs: install + # + # steps: - run: yarn run build # Runs a single command using the runners shell #- name: Run a one-line script