Skip to content

Commit 9eecafc

Browse files
committed
[actions] prevent node 14 on ARM mac from failing
1 parent 843820e commit 9eecafc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/nodejs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ jobs:
3939
steps:
4040
- uses: actions/checkout@v3
4141

42+
- name: install rosetta
43+
run: softwareupdate --install-rosetta --agree-to-license
44+
if: matrix.os == 'macos-latest'
45+
4246
- uses: ljharb/actions/node/install@main
4347
name: 'nvm install ${{ matrix.node-version }} && npm install'
4448
with:

0 commit comments

Comments
 (0)