From 7a868172808f5c0e5214eefc4b411bdc917339eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mangeonjean?= Date: Fri, 26 Jan 2024 16:54:30 +0100 Subject: [PATCH] fix: fix ci --- .github/workflows/check_build.yml | 4 ++-- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check_build.yml b/.github/workflows/check_build.yml index f6932f4..7852719 100644 --- a/.github/workflows/check_build.yml +++ b/.github/workflows/check_build.yml @@ -15,7 +15,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v3 - run: npm ci - - run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD + - run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose check: name: Check build runs-on: ubuntu-latest @@ -28,7 +28,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 18.13.0 - name: Install dependencies run: npm ci - name: Build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4820056..b4693b1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 18.13.0 - name: Install dependencies run: npm ci - name: Build