We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9936bf8 commit ee8cc18Copy full SHA for ee8cc18
.github/workflows/test.yml
@@ -30,10 +30,21 @@ jobs:
30
runs-on: ${{ matrix.os }}
31
steps:
32
- uses: actions/checkout@v4
33
+ - uses: actions/github-script@v7
34
+ id: calculate_architecture
35
+ with:
36
+ result-encoding: string
37
+ script: |
38
+ if ('${{ matrix.os }}' === 'macos-latest' && '${{ matrix['node-version'] }}' === '10.x') {
39
+ return "x64"
40
+ } else {
41
+ return ''
42
+ }
43
- name: Use Node.js ${{ matrix.node-version }}
44
uses: actions/setup-node@v4
45
with:
46
node-version: ${{ matrix.node-version }}
47
+ architecture: ${{ steps.calculate_architecture.outputs.result }}
48
cache: yarn
49
- name: Install dependencies
50
run: |
0 commit comments