From 6edfd0ea147a99c1946ac9565e852bcfa9c8b34e Mon Sep 17 00:00:00 2001 From: Ayu Date: Thu, 4 Jul 2024 22:55:23 +0100 Subject: [PATCH] ci: update actions to latest --- .github/workflows/algolia.yml | 7 ++++--- .github/workflows/cron-run.yml | 7 ++++--- .github/workflows/manual-run-force.yml | 7 ++++--- .github/workflows/manual-run.yml | 7 ++++--- .github/workflows/tests.yml | 6 +++--- .github/workflows/update-deps.yml | 7 ++++--- 6 files changed, 23 insertions(+), 18 deletions(-) diff --git a/.github/workflows/algolia.yml b/.github/workflows/algolia.yml index ed5111df846..13838377422 100644 --- a/.github/workflows/algolia.yml +++ b/.github/workflows/algolia.yml @@ -8,15 +8,16 @@ jobs: steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Enable PNPM - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 - name: Set node version to 20 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "20" + cache: "pnpm" - name: Install run: pnpm install --frozen-lockfile diff --git a/.github/workflows/cron-run.yml b/.github/workflows/cron-run.yml index b057d8145b5..45337da03f9 100644 --- a/.github/workflows/cron-run.yml +++ b/.github/workflows/cron-run.yml @@ -10,15 +10,16 @@ jobs: steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Enable PNPM - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 - name: Set node version to 20 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "20" + cache: "pnpm" - name: Install run: pnpm install --frozen-lockfile diff --git a/.github/workflows/manual-run-force.yml b/.github/workflows/manual-run-force.yml index 5b43ce2f7d3..800e0eb0ddf 100644 --- a/.github/workflows/manual-run-force.yml +++ b/.github/workflows/manual-run-force.yml @@ -8,15 +8,16 @@ jobs: steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Enable PNPM - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 - name: Set node version to 20 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "20" + cache: "pnpm" - name: Install run: pnpm install --frozen-lockfile diff --git a/.github/workflows/manual-run.yml b/.github/workflows/manual-run.yml index b1f91ed7a57..d819ed394d7 100644 --- a/.github/workflows/manual-run.yml +++ b/.github/workflows/manual-run.yml @@ -8,15 +8,16 @@ jobs: steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Enable PNPM - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 - name: Set node version to 20 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "20" + cache: "pnpm" - name: Install run: pnpm install --frozen-lockfile diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 146ab351ee1..c27c4cd3b48 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,13 +6,13 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Enable PNPM - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 - name: Set node version to 20 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "20" cache: "pnpm" diff --git a/.github/workflows/update-deps.yml b/.github/workflows/update-deps.yml index 857a5acea77..df89a79fac2 100644 --- a/.github/workflows/update-deps.yml +++ b/.github/workflows/update-deps.yml @@ -9,13 +9,14 @@ jobs: update-deps: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: checkout + uses: actions/checkout@v4 - name: Enable PNPM - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 - name: Set node version to 20 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "20" cache: "pnpm"