Skip to content

Commit

Permalink
feat(build) Use node 20 for cake-build
Browse files Browse the repository at this point in the history
  • Loading branch information
eoehen committed Apr 26, 2024
1 parent 25b852d commit 6ffe173
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ jobs:
- name: Fetch all tags and branches
run: git fetch --prune --unshallow

# node setup
- name: Setup node 20
uses: actions/setup-node@v4
with:
node-version: 20

# .net Core setup
- name: Setup .NET Core 2.1
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4
Expand Down Expand Up @@ -76,13 +82,14 @@ jobs:
# Build
- name: Build Project
uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1
using: 'node20'
with:
script-path: recipe.cake
target: CI
verbosity: Verbose
cake-version: 1.3.0
cake-bootstrap: true

# Publish artifacts
- name: Publish Issues-Report as build artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
with:
dotnet-version: 8.x

- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20

# Caching Tools
- name: Cache Tools
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
Expand All @@ -60,7 +65,8 @@ jobs:

# Build
- name: Build Project
uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1
uses: cake-build/cake-action@v2
using: 'node20'
with:
script-path: recipe.cake
target: CI
Expand Down

0 comments on commit 6ffe173

Please sign in to comment.