diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fa32f956f1..14d7bdd523 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,7 +45,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Node (uses version in .nvmrc) - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' @@ -53,7 +53,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -61,7 +61,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn-v3- # cached build (separately to increase cache efficiency) - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: build-cache with: path: | @@ -148,7 +148,7 @@ jobs: # restore / cache the binary ourselves on Linux # see https://github.com/actions/cache id: cache-cypress - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/Cypress key: ${{ runner.os }}-cypress-${{ hashFiles('**/package.json') }} @@ -185,7 +185,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Node (uses version in .nvmrc) - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' @@ -193,7 +193,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -214,7 +214,7 @@ jobs: # restore / cache the binary ourselves on Linux # see https://github.com/actions/cache id: cache-cypress - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/Cypress key: ${{ runner.os }}-cypress-${{ hashFiles('**/package.json') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22091ef7a5..bee9bd09fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,14 +10,14 @@ jobs: runs-on: ubuntu-latest steps: - # Get GitHub token via the CT Changesets App + # Get GitHub token via the CT Changesets App - name: Generate GitHub token (via CT Changesets App) id: generate_github_token uses: tibdex/github-app-token@v2.1.0 with: app_id: ${{ secrets.CT_CHANGESETS_APP_ID }} private_key: ${{ secrets.CT_CHANGESETS_APP_PEM }} - + - name: Checkout uses: actions/checkout@v4 with: @@ -27,11 +27,11 @@ jobs: token: ${{ steps.generate_github_token.outputs.token }} - name: Setup Node (uses version in .nvmrc) - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: .cache/yarn key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}