From 516fcba264cf04e468b67a684ec471afe8e8838c Mon Sep 17 00:00:00 2001 From: manudous Date: Fri, 19 Jan 2024 14:32:59 +0100 Subject: [PATCH] fix ci --- .github/workflows/ci.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cec56bd9..06490979 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,18 +2,23 @@ name: Continuos Integration workflow on: pull_request -env: - HUSKY: 0 - jobs: ci: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 - - name: Install - run: npm ci - - name: Check types - run: npm run type-check + uses: actions/checkout@v4 + + - name: Setup node version + uses: actions/setup-node@v3 + with: + node-version: 18.x + - name: + Install + # Issue turborepo install on linux: https://github.com/vercel/turbo/issues/3328#issuecomment-1413206817 + # It fails sometimes + run: | + npm install -D --arch=x64 --platform=linux turbo + npm ci - name: Tests - run: npm test + run: npm run test