From e3a4b6fead7b507617c7b430d4b47cf70bc7eb31 Mon Sep 17 00:00:00 2001 From: Timur Brachkow <33203187+brachkow@users.noreply.github.com> Date: Thu, 2 May 2024 12:25:54 +0200 Subject: [PATCH] Update CI --- .github/workflows/ci.yml | 16 ++++++++-------- .github/workflows/regression.yml | 10 +++++----- .github/workflows/write-regression.yml | 8 ++++---- .node-version | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e7caa29..0b83733e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,11 +8,11 @@ jobs: steps: - name: Checkout 🛎 - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: pnpm/action-setup@v2 with: - version: 8 + version: latest - name: Use Node.js uses: actions/setup-node@v3 @@ -36,7 +36,7 @@ jobs: run: pnpm run build - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dist path: dist @@ -49,12 +49,12 @@ jobs: - name: Checkout 🛎 uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v3 with: - version: 8 + version: latest - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.node-version' cache: 'pnpm' @@ -71,10 +71,10 @@ jobs: if: ${{ github.ref == 'refs/heads/main' }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download build artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dist path: dist diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index 08c32682..b0654e22 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -7,14 +7,14 @@ jobs: steps: - name: Checkout 🛎 - uses: actions/checkout@master + uses: actions/checkout@v4 - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v3 with: - version: 8 + version: 9 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.node-version' cache: 'pnpm' @@ -30,7 +30,7 @@ jobs: - name: Saving test results 📥 if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: diff path: src/__image_snapshots__/__diff_output__ diff --git a/.github/workflows/write-regression.yml b/.github/workflows/write-regression.yml index 08ad4fba..d1d1d3f6 100644 --- a/.github/workflows/write-regression.yml +++ b/.github/workflows/write-regression.yml @@ -26,17 +26,17 @@ jobs: core.setFailed(`Request failed with error ${err}`) } - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: repository: ${{ fromJSON(steps.get-pr.outputs.result).head.repo.full_name }} ref: ${{ fromJSON(steps.get-pr.outputs.result).head.sha }} - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v3 with: - version: 8 + version: latest - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.node-version' cache: 'pnpm' diff --git a/.node-version b/.node-version index 3c032078..2edeafb0 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -18 +20 \ No newline at end of file