From 6d6b078318c0ad1d908922d12488a482641e8913 Mon Sep 17 00:00:00 2001 From: Danil Ovchinnikov Date: Wed, 24 Sep 2025 13:59:18 +0300 Subject: [PATCH 1/3] feat(ci): update the project --- .github/workflows/tests.yml | 17 ++++++++--------- yarn.lock | 3 +++ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2980b57..e46201f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,6 +8,10 @@ on: branches: - main +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + env: HUSKY: 0 @@ -24,15 +28,10 @@ jobs: - macos-latest steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Enable Corepack - if: matrix.os == 'windows-latest' - run: corepack enable --install-directory 'C:\npm\prefix' + - name: Fetch Sources + uses: actions/checkout@v4 - name: Enable Corepack - if: matrix.os != 'windows-latest' run: corepack enable - name: Setup Node.js 22.x @@ -47,7 +46,7 @@ jobs: run: yarn install --immutable - name: Build - run: yarn build + run: yarn run build - name: Run Tests - run: yarn test + run: yarn run test diff --git a/yarn.lock b/yarn.lock index 20f3223..e878c1d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4763,6 +4763,9 @@ __metadata: typescript-eslint: "npm:^8.33.1" peerDependencies: "@ton/core": ">=0.61.0" + peerDependenciesMeta: + "@ton/core": + optional: false bin: tasm: ./dist/cli/assembler.js tdisasm: ./dist/cli/disassembler.js From 013c811d266c7a5ce6f8d4b13598f616e49eb199 Mon Sep 17 00:00:00 2001 From: Danil Ovchinnikov Date: Wed, 24 Sep 2025 14:07:01 +0300 Subject: [PATCH 2/3] use `actions/setup-node@v5` --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e46201f..bf48586 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,7 +35,7 @@ jobs: run: corepack enable - name: Setup Node.js 22.x - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 22.x cache: "yarn" From 52a17955a46fd06c3ab9512b5f37d3269f387098 Mon Sep 17 00:00:00 2001 From: Danil Ovchinnikov Date: Wed, 24 Sep 2025 14:11:07 +0300 Subject: [PATCH 3/3] fix `Corepack` in `Windows` --- .github/workflows/tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bf48586..89035d5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,6 +32,11 @@ jobs: uses: actions/checkout@v4 - name: Enable Corepack + if: matrix.os == 'windows-latest' + run: corepack enable --install-directory 'C:\npm\prefix' + + - name: Enable Corepack + if: matrix.os != 'windows-latest' run: corepack enable - name: Setup Node.js 22.x