diff --git a/.github/workflows/build-prs.yml b/.github/workflows/build-prs.yml index 56c51552..394df46b 100644 --- a/.github/workflows/build-prs.yml +++ b/.github/workflows/build-prs.yml @@ -10,6 +10,7 @@ jobs: - uses: actions/setup-node@v4 with: cache: "npm" + - run: npm config set engine-strict=false - run: npm install - run: echo PKG_VERSION="$(git show --no-patch --format=0.0.0-build-%ct.pr-${{ github.event.pull_request.number }}.commit-%h)" >> $GITHUB_ENV - run: npm pkg set "version=${{ env.PKG_VERSION }}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c8587096..c356a90c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,6 +48,8 @@ jobs: with: node-version: 18.x + - run: npm config set engine-strict=false + - name: Install dependencies run: npm ci