Skip to content

Commit

Permalink
ci: fixes conflicting Node.js distribution on MacOS 14
Browse files Browse the repository at this point in the history
  • Loading branch information
v1nc3n4 committed Jun 8, 2024
1 parent f4e937d commit e9b3d90
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 14 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, macos-14, windows-2022]
# os: [ubuntu-22.04, macos-14, windows-2022]
os: [macos-14]

steps:
- name: Init Ubuntu environment
Expand All @@ -22,7 +23,7 @@ jobs:

- name: Init MacOS environment
if: matrix.os == 'macos-14'
run: sudo rm -f /usr/local/bin/node /usr/local/bin/npm /usr/local/bin/pnpm /usr/bin/yarn /Users/runner/.yarn/bin/yarn
run: sudo rm -f /opt/homebrew/bin/node /usr/local/bin/npm /usr/local/bin/pnpm /usr/bin/yarn /Users/runner/.yarn/bin/yarn

- name: Init Windows environment
if: matrix.os == 'windows-2022'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#!/usr/bin/env node

Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#!/usr/bin/env node

Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#!/usr/bin/env node

Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#!/usr/bin/env node

Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#!/usr/bin/env node

Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#!/usr/bin/env node

Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ ECHO %~dp0 %*
) ELSE (
node %*
)

Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ ECHO %~dp0 %*
) ELSE (
node %*
)

Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ ECHO %~dp0 %*
) ELSE (
node %*
)

Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ ECHO %~dp0 %*
) ELSE (
node %*
)

Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ ECHO %~dp0 %*
) ELSE (
node %*
)

Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ ECHO %~dp0 %*
) ELSE (
node %*
)

0 comments on commit e9b3d90

Please sign in to comment.