From b5ffb949df6e24e4e041f86322796072fbff53b4 Mon Sep 17 00:00:00 2001 From: Jason Song Date: Fri, 21 Apr 2023 18:41:48 +0800 Subject: [PATCH] fix: brew install --build-from-source node --- .gitea/workflows/test.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index bcfc41d..67ff571 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -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