Skip to content

Commit

Permalink
ci: use freebsd pkg installer to install yarn/npm (#325)
Browse files Browse the repository at this point in the history
* ci: use freebsd pkg installer to install yarn

* ci: use freebsd pkg installer to install npm
  • Loading branch information
wangziling committed Jul 4, 2023
1 parent b597529 commit 2d4499f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,7 @@ jobs:
usesh: true
mem: 3000
prepare: |
pkg install -y -f curl node libnghttp2
curl -qL https://www.npmjs.com/install.sh | sh
npm install --location=global --ignore-scripts yarn
pkg install -y -f curl node libnghttp2 npm yarn
curl https://sh.rustup.rs -sSf --output rustup.sh
sh rustup.sh -y --profile minimal --default-toolchain beta
export PATH="/usr/local/cargo/bin:$PATH"
Expand Down

0 comments on commit 2d4499f

Please sign in to comment.