Skip to content

Commit 99adf6a

Browse files
authored
Force nodejs16 usage
See actions/runner#2906
1 parent 590d126 commit 99adf6a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build.yaml

+3-4
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ jobs:
1313
label: macos-arm64
1414
- os: macos-latest
1515
label: macos-x64
16+
env:
17+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
18+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
1619
runs-on: ${{ matrix.os }}
1720
container: ${{ matrix.container }}
1821
steps:
19-
- name: Install nodejs v20
20-
if: ${{ matrix.label == 'centos-7' }}
21-
run: yum install nodejs20
22-
2322
- name: Checkout code
2423
uses: actions/checkout@v3
2524

0 commit comments

Comments
 (0)