Skip to content

Commit

Permalink
chore: update CI dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
getlarge committed Jan 14, 2024
1 parent 9046913 commit ccbcbee
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/actions/checkout-and-yarn/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ runs:
token: ${{ inputs.token }}

- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}

Expand All @@ -50,7 +50,7 @@ runs:
# follow advice in https://gist.github.com/belgattitude/042f9caf10d029badbde6cf9d43e400a
- name: Cache / restore yarn cache
id: yarn-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.yarn-config.outputs.CACHE_FOLDER }}
key: yarn-cache-${{ runner.os }}-${{ steps.yarn-config.outputs.CURRENT_NODE_VERSION }}-${{ hashFiles('**/yarn.lock', '.yarnrc.yml') }}
Expand All @@ -59,7 +59,7 @@ runs:
- name: ♻️ Cache / restore yarn install state
id: yarn-install-state-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .yarn/ci-cache/
key: yarn-install-state-cache-${{ runner.os }}-${{ steps.yarn-config.outputs.CURRENT_NODE_VERSION }}-${{ hashFiles('yarn.lock', '.yarnrc.yml') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:

- name: Derive appropriate SHAs for base and head for `nx affected` commands
id: set-shas
uses: nrwl/nx-set-shas@v3
uses: nrwl/nx-set-shas@v4
with:
# solves issue where no projects are affected after merging to main
workflow-id: ${{ steps.ref-workflow.outputs.value }}
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
# When building images in CI runner
- name: Retrieve build output from external workflow
if: github.event_name == 'workflow_dispatch'
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ needs.init.outputs.current-branch }}
Expand All @@ -259,7 +259,7 @@ jobs:

- name: Retrieve build output from current workflow
if: github.event_name != 'workflow_dispatch' && steps.check-build-artifact.outputs.exists == 'true'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ env.BUILD_ARTIFACTS }}
path: ${{ env.BUILD_FOLDER }}
Expand All @@ -274,7 +274,7 @@ jobs:
run: exit 1

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
- name: Derive appropriate SHAs for base and head for `nx affected` commands
id: set-shas
uses:
nrwl/nx-set-shas@v3
nrwl/nx-set-shas@v4

# get commits count and increment by 1 for safety
- name: Find depth of NX_BASE
Expand Down Expand Up @@ -449,7 +449,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v3
uses: nrwl/nx-set-shas@v4

- run: npx nx-cloud start-ci-run

Expand Down

0 comments on commit ccbcbee

Please sign in to comment.