diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46edb99..90826ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,11 +19,23 @@ jobs: run: npm run lint - name: Typecheck run: npm run typecheck + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up NodeJs + uses: actions/setup-node@v2 + with: + node-version: 16 + - name: Install dependencies + run: npm ci - name: Unit tests run: npm run test:unit:ci docker: runs-on: ubuntu-latest - needs: lint + needs: + - lint + - test steps: - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index 0c44c29..f400a65 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -21,3 +21,15 @@ jobs: run: npm run typecheck - name: Unit tests run: npm run test:unit:ci + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up NodeJs + uses: actions/setup-node@v2 + with: + node-version: 16 + - name: Install dependencies + run: npm ci + - name: Unit tests + run: npm run test:unit:ci