fix: brew install --build-from-source node

This commit is contained in:
Jason Song 2023-04-21 18:41:48 +08:00
parent c468baa278
commit b5ffb949df
No known key found for this signature in database
GPG Key ID: 8402EEEE4511A8B5
1 changed files with 16 additions and 2 deletions

View File

@ -37,9 +37,23 @@ jobs:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- name: install node
# to use actions/checkout
# install node to use actions/checkout, but
# Warning: Your CPU architecture (arm64) is not supported. We only support
# x86_64 CPU architectures. You will be unable to use binary packages (bottles).
# You will encounter build failures with some formulae.
# Please create pull requests instead of asking for help on Homebrew's GitHub,
# Twitter or any other official channels. You are responsible for resolving
# any issues you experience while you are running this
# unsupported configuration.
# Error: node: no bottle available!
# You can try to install from source with:
# brew install --build-from-source node
# Please note building from source is unsupported. You will encounter build
# failures with some formulae. If you experience any issues please create pull
# requests instead of asking for help on Homebrew's GitHub, Twitter or any other
# official channels.
run: |
brew install node
brew install --build-from-source node
node --version
- uses: actions/checkout@v3
- name: test install