diff --git a/.circleci/config.yml b/.circleci/config.yml index 182b3c18e955..f20db4ea93a4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,7 +24,7 @@ aliases: executors: node-executor: docker: - - image: cimg/node:current + - image: cimg/node:20.5 working_directory: ~/babel jobs: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a16d6db86ee..da19fd95cc9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - name: Use Node.js latest uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x check-latest: true cache: "yarn" - name: 'Check or update Yarn cache (fix w/ "yarn install")' @@ -39,7 +39,7 @@ jobs: - name: Use Node.js latest uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x check-latest: true cache: "yarn" - name: 'Check for unmet constraints (fix w/ "yarn constraints --fix")' @@ -68,7 +68,7 @@ jobs: - name: Use Node.js latest uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x check-latest: true cache: "yarn" - name: Generate coverage report @@ -88,7 +88,7 @@ jobs: - name: Use Node.js latest uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x check-latest: true cache: "yarn" - name: Use ESM and build @@ -114,7 +114,7 @@ jobs: - name: Use Node.js latest uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x check-latest: true cache: "yarn" - name: Build babel artifacts @@ -154,7 +154,7 @@ jobs: - name: Use Node.js latest uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x check-latest: true cache: "yarn" - name: Build babel artifacts @@ -179,7 +179,7 @@ jobs: - name: Use Node.js latest uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x check-latest: true cache: "yarn" - name: Install @@ -209,7 +209,7 @@ jobs: - name: Use Node.js latest # Run yarn on latest node uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x check-latest: true cache: "yarn" - name: Install @@ -252,7 +252,7 @@ jobs: if: matrix.node-version == '6' || matrix.node-version == '8' || matrix.node-version == '10' uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x build-babel8: name: Build Babel 8 Artifacts @@ -267,7 +267,7 @@ jobs: - name: Use Node.js latest uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x check-latest: true cache: "yarn" - name: Use ESM @@ -338,7 +338,7 @@ jobs: - name: Use Node.js 18 uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x check-latest: true cache: "yarn" - name: Install @@ -363,7 +363,7 @@ jobs: - name: Use Node.js latest uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x check-latest: true cache: "yarn" - name: Install @@ -392,7 +392,7 @@ jobs: - name: Use Node.js latest uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x check-latest: true cache: "yarn" # See https://github.com/babel/babel/pull/12906 @@ -498,7 +498,7 @@ jobs: - name: Use Node.js latest uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x check-latest: true cache: "yarn" - name: Install @@ -523,7 +523,7 @@ jobs: - name: Use Node.js latest uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x check-latest: true - name: Checkout test runner uses: actions/checkout@v3 @@ -560,7 +560,7 @@ jobs: - name: Use Node.js latest uses: actions/setup-node@v3 with: - node-version: latest + node-version: 20.5.x check-latest: true - name: Install run: yarn install