Skip to content

Commit

Permalink
Update Node.js version to 22 and cache yarn in Docker build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianG committed Oct 30, 2024
1 parent bc8c816 commit e124de8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '22'
cache: yarn

- name: Set up Docker Buildk
uses: docker/setup-buildx-action@v3

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '22'
cache: yarn

# TODO: remove the following step once Oras CLI 0.13.0 bug https://github.com/oras-project/oras/issues/447 is fixed.
- name: Downgrade Oras to 0.12.0
run: |
Expand Down

0 comments on commit e124de8

Please sign in to comment.