Skip to content

Commit fcc3387

Browse files
authored
ci: fix FreeBSD build
1 parent fc7ec2c commit fcc3387

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
path: packages/*/*.node
153153

154154
build-freebsd:
155-
runs-on: macos-latest
155+
runs-on: macos-10.15
156156
name: Build FreeBSD
157157
steps:
158158
- uses: actions/checkout@v2
@@ -169,7 +169,9 @@ jobs:
169169
usesh: true
170170
mem: 3000
171171
prepare: |
172-
pkg install -y curl node yarn npm python2
172+
pkg install -y curl python2 node14
173+
curl -qL https://www.npmjs.com/install.sh | sh
174+
npm install -g yarn
173175
curl https://sh.rustup.rs -sSf --output rustup.sh
174176
sh rustup.sh -y --profile minimal --default-toolchain stable
175177
export PATH="/usr/local/cargo/bin:$PATH"

0 commit comments

Comments
 (0)