From 165e96b702b05aeed8636fda3a3962c831329aac Mon Sep 17 00:00:00 2001 From: Akim <59872966+akim-bow@users.noreply.github.com> Date: Tue, 19 Dec 2023 17:46:11 +0700 Subject: [PATCH] fix: Install before build (#406) * Try to fix CI * Try to fix CI --- .github/workflows/tests.yml | 11 +++++------ .prettierignore | 2 ++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 014d321d..bfaa95fb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -91,12 +91,6 @@ jobs: registry-url: "https://npm.fluence.dev" cache: "pnpm" - - run: pnpm -r i - - run: pnpm -r build - - - name: Lint code - run: pnpm lint-check - - name: Override dependencies uses: fluencelabs/github-actions/pnpm-set-dependency@main with: @@ -107,6 +101,11 @@ jobs: } - run: pnpm -r --no-frozen-lockfile i + - run: pnpm -r build + + - name: Lint code + run: pnpm lint-check + - run: pnpm -r test - name: Dump container logs diff --git a/.prettierignore b/.prettierignore index be214940..a11c789f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -8,6 +8,8 @@ build public **/CHANGELOG.md +# TODO: remove after pnpm-set-deps will add \n symbol at the end of these files +**/package.json packages/core/js-client-isomorphic/src/versions.ts __snapshots__