From d24345b623d2eb5dd4c6ec39a5a709966ece6d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Quixada=CC=81?= <195494+lquixada@users.noreply.github.com> Date: Wed, 11 Dec 2024 08:15:59 -0500 Subject: [PATCH] chore: updated actions/checkout and actions/cache to v4 --- .github/workflows/branch.yml | 8 ++++---- .github/workflows/checks.yml | 16 ++++++++-------- .github/workflows/pr.yml | 4 ++-- .github/workflows/release.yml | 12 ++++++------ 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/branch.yml b/.github/workflows/branch.yml index e9109ea7..6b043ec8 100644 --- a/.github/workflows/branch.yml +++ b/.github/workflows/branch.yml @@ -10,10 +10,10 @@ jobs: name: Install runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache node_modules id: cacheModules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm # this is cache where npm installs from before going out to the network key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} @@ -41,8 +41,8 @@ jobs: needs: [install] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: ~/.npm # this is cache where npm installs from before going out to the network key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index f7405585..d258c411 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -19,10 +19,10 @@ jobs: node-version: [14.x, 16.x, 18.x, 20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ inputs.ref }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm # this is cache where npm installs from before going out to the network key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} @@ -37,10 +37,10 @@ jobs: name: Browser Test Specs runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ inputs.ref }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm # this is cache where npm installs from before going out to the network key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} @@ -55,10 +55,10 @@ jobs: name: Code Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ inputs.ref }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm # this is cache where npm installs from before going out to the network key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} @@ -69,10 +69,10 @@ jobs: name: Types runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ inputs.ref }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm # this is cache where npm installs from before going out to the network key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a3bd10f7..5822a9ba 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -28,12 +28,12 @@ jobs: name: Install runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: Cache node_modules id: cacheModules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm # this is cache where npm installs from before going out to the network key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c064dba8..d3ae55d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,10 +16,10 @@ jobs: name: Install runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache node_modules id: cacheModules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm # cache where "npm install" uses before going out to the network key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} @@ -45,8 +45,8 @@ jobs: needs: [install] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: ~/.npm # cache where "npm install" uses before going out to the network key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} @@ -60,13 +60,13 @@ jobs: runs-on: ubuntu-latest needs: [checks, security] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version-file: '.nvmrc' # Setup .npmrc file to publish to npm registry-url: 'https://registry.npmjs.org' - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm # this is cache where npm installs from before going out to the network key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}