diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml index e844ccaf8c..7a7c11ae14 100644 --- a/.github/workflows/browser-tests.yml +++ b/.github/workflows/browser-tests.yml @@ -38,7 +38,7 @@ jobs: submodules: true - uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version: '18.x' cache: yarn - name: Install Stripe-CLI diff --git a/.github/workflows/signup-form-tests.yml b/.github/workflows/signup-form-tests.yml index f7c644d7fb..d3147c457f 100644 --- a/.github/workflows/signup-form-tests.yml +++ b/.github/workflows/signup-form-tests.yml @@ -27,7 +27,7 @@ jobs: env: FORCE_COLOR: 0 with: - node-version: "16.13.0" + node-version: "18.12.1" cache: yarn - run: yarn --prefer-offline diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b9d409d56..eec0d53fb8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: env: FORCE_COLOR: 0 with: - node-version: '16.13.0' + node-version: '18.12.1' cache: yarn - uses: actions/cache@v3 @@ -54,7 +54,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "16.13.0" + node-version: "18.12.1" - run: yarn --prefer-offline - run: yarn workspace ghost-admin run test @@ -98,7 +98,7 @@ jobs: env: FORCE_COLOR: 0 with: - node-version: '16.13.0' + node-version: '18.12.1' cache: yarn - name: Shutdown MySQL @@ -160,7 +160,7 @@ jobs: - run: yarn test:unit - uses: actions/upload-artifact@v3 - if: startsWith(matrix.node, '16') + if: startsWith(matrix.node, '18') with: name: unit-coverage path: ghost/*/coverage/cobertura-coverage.xml @@ -182,7 +182,7 @@ jobs: - DB: mysql8 NODE_ENV: testing-mysql include: - - node: 16.13.0 + - node: 18.12.1 env: DB: sqlite3 NODE_ENV: testing @@ -245,7 +245,7 @@ jobs: echo "test_time=$(($endTime-$startTime))" >> $GITHUB_ENV - uses: actions/upload-artifact@v3 - if: startsWith(matrix.node, '16') && contains(matrix.env.DB, 'mysql') + if: startsWith(matrix.node, '18') && contains(matrix.env.DB, 'mysql') with: name: e2e-coverage path: |