From 9fc2a2b21e5e25d67fdad1e8a795b75804f4d8e2 Mon Sep 17 00:00:00 2001 From: Guilherme Gazzo Date: Mon, 23 Sep 2024 20:26:04 -0300 Subject: [PATCH] chore: bump actions --- .github/workflows/cd.yml | 13 +++++++------ .github/workflows/ci-pr.yml | 10 ++++++---- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0a9f2dd066..f367658e1b 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -61,15 +61,16 @@ jobs: needs: - build-and-test steps: - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: "22.2.0" registry-url: "https://registry.npmjs.org" scope: "@rocket.chat" - - uses: actions/checkout@v2 + cache: "yarn" + - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: yarn-cache with: path: | @@ -112,15 +113,15 @@ jobs: name: github-pages url: "https://rocketchat.github.io/fuselage/fuselage/${{ needs.build-and-test.outputs.branch-name }}" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: gh-pages - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: storybooks path: packages - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: docs path: . diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index c1ac64abd1..5f295beb06 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -19,20 +19,22 @@ jobs: TURBO_TEAM: ${{ secrets.TURBO_TEAM }} runs-on: ubuntu-latest steps: - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v4 with: node-version: "22.2.0" - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + cache: "yarn" + - uses: actions/cache@v3 id: yarn-cache with: path: | **/node_modules .yarn/cache key: ${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }} + - uses: rharkor/caching-for-turbo@v1.5 - name: Turbo Cache id: turbo-cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: .turbo key: turbo-${{ runner.os }}-${{ github.job }}