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 549a40f commit 6160b03Copy full SHA for 6160b03
.github/workflows/run-tests.yml
@@ -128,10 +128,23 @@ jobs:
128
runs-on: ${{ matrix.os }}
129
steps:
130
- uses: actions/checkout@v5
131
+ - name: Decide Node Version
132
+ id: decide-node-version
133
+ shell: bash
134
+ run: |
135
+ NODE_VERSION=18.x
136
+ if [ "${{ matrix.version}}" = "canary" ]; then
137
+ # this is not ideal, because we set node@20 just when explicitly using canary tag as target
138
+ # but next@canary are still on 15 major, so we can't yet use major version of resolved next version
139
+ # as condition
140
+ NODE_VERSION=20.x
141
+ fi
142
+ echo "version=$NODE_VERSION" >> $GITHUB_OUTPUT
143
+ echo "Node version for 'next@${{ matrix.version }}' is '$NODE_VERSION'"
144
- name: 'Install Node'
145
uses: actions/setup-node@v4
146
with:
- node-version: '18.x'
147
+ node-version: ${{ steps.decide-node-version.outputs.version }}
148
cache: 'npm'
149
cache-dependency-path: '**/package-lock.json'
150
- name: Prefer npm global on windows
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments