From 3ebf3053d0dc4991ead1244e29cd17cc818fb396 Mon Sep 17 00:00:00 2001 From: Jason Jean Date: Fri, 12 Jul 2024 15:26:09 -0500 Subject: [PATCH] =?UTF-8?q?chore(repo):=20update=20freebsd=20publish=20to?= =?UTF-8?q?=20run=20on=20ubuntu=20and=20use=20latest=20f=E2=80=A6=20(#2692?= =?UTF-8?q?4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …reebsd to fix issue ## Current Behavior There's an issue with running `npm` when building on freebsd ## Expected Behavior There are no issues building on freebsd ## Related Issue(s) Fixes # (cherry picked from commit 37f0ccaa20d0d94274e1412bd3a038b093d3f0a7) --- .github/workflows/publish.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c4782d7b24554..8e45a5c9f0c88 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -287,7 +287,7 @@ jobs: build-freebsd: needs: [resolve-required-data] if: ${{ github.repository_owner == 'nrwl' }} - runs-on: macos-13-large + runs-on: ubuntu-latest name: Build FreeBSD timeout-minutes: 45 steps: @@ -300,7 +300,7 @@ jobs: - name: Build id: build if: ${{ github.event_name != 'schedule' && !github.event.inputs.pr }} - uses: cross-platform-actions/action@v0.22.0 + uses: cross-platform-actions/action@v0.25.0 env: DEBUG: napi:* RUSTUP_IO_THREADS: 1 @@ -308,14 +308,14 @@ jobs: PLAYWRIGHT_BROWSERS_PATH: 0 with: operating_system: freebsd - version: '13.2' + version: '14.0' architecture: x86-64 environment_variables: DEBUG RUSTUP_IO_THREADS CI NX_PREFER_TS_NODE PLAYWRIGHT_BROWSERS_PATH shell: bash run: | env whoami - sudo pkg install -y -f node libnghttp2 npm git + sudo pkg install -y -f node libnghttp2 www/npm git sudo npm install --location=global --ignore-scripts pnpm@8.15.7 curl https://sh.rustup.rs -sSf --output rustup.sh sh rustup.sh -y --profile minimal --default-toolchain stable @@ -331,8 +331,6 @@ jobs: whoami env freebsd-version - mkdir -p /Users/runner/work/_temp/_github_workflow - echo "{}" > /Users/runner/work/_temp/_github_workflow/event.json pnpm install --frozen-lockfile --ignore-scripts pnpm nx run-many --verbose --outputStyle stream --target=build-native -- --target=x86_64-unknown-freebsd pnpm nx reset