diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d40d9bfa19..1eb6bb0cf6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -135,7 +135,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 18 + node-version-file: .nvmrc - name: Get artifact dir name run: node .github/workflows/get_artifact_dir_name.js @@ -401,7 +401,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 18 + node-version-file: .nvmrc - name: NPM install run: npm ci --ignore-scripts @@ -461,7 +461,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 18 + node-version-file: .nvmrc - name: Download artifacts uses: actions/download-artifact@v4 @@ -495,7 +495,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 18 + node-version-file: .nvmrc registry-url: https://registry.npmjs.org # Needed to make auth work for publishing - name: Download artifacts diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000000..3c032078a4 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +18