diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce99bb20..cd9cff58 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -86,8 +86,14 @@ jobs: node-version: latest cache: npm - - name: Install dependencies (NPM${{ matrix.name == 'macOS' && '+PIP' || '' }}) - run: ${{ matrix.runner == 'macos-latest' && 'python -m pip install setuptools &&' || '' }} npm ci + - name: Lock Python version (macOS only) + if: ${{ matrix.runner == 'macos-latest' || matrix.runner == 'macos-14' }} + uses: actions/setup-python@v5 + with: + python-version: '3.11' + + - name: Install dependencies (NPM) + run: npm ci - name: Update dependencies if: ${{ matrix.build == 'latest' }} diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index c2f7d749..43338d06 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -36,8 +36,14 @@ jobs: node-version: latest cache: npm - - name: Install dependencies (NPM${{ matrix.name == 'macOS' && '+PIP' || '' }}) - run: ${{ matrix.runner == 'macos-latest' && 'python -m pip install setuptools &&' || '' }} npm ci + - name: Lock Python version (macOS only) + if: ${{ matrix.runner == 'macos-latest' || matrix.runner == 'macos-14' }} + uses: actions/setup-python@v5 + with: + python-version: '3.11' + + - name: Install dependencies (NPM) + run: npm ci - name: TSC cache uses: actions/cache@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f888e3d..1ec8e171 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,8 +36,14 @@ jobs: node-version: latest cache: npm - - name: Install dependencies (NPM${{ matrix.name == 'macOS' && '+PIP' || '' }}) - run: ${{ matrix.runner == 'macos-latest' && 'python -m pip install setuptools &&' || '' }} npm ci + - name: Lock Python version (macOS only) + if: ${{ matrix.runner == 'macos-latest' || matrix.runner == 'macos-14' }} + uses: actions/setup-python@v5 + with: + python-version: '3.11' + + - name: Install dependencies (NPM) + run: npm ci - name: TSC cache uses: actions/cache@v3