Skip to content

Commit

Permalink
use node v22 in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
timhn-bm committed Sep 28, 2024
1 parent dc970d0 commit 95db83c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/actions/setup-node/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Setup Node v22"
description: "Use Node v22"
runs:
using: "composite"
steps:
description: "Use Node v22"
runs:
using: "composite"
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
shell: bash
4 changes: 4 additions & 0 deletions .github/workflows/quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: "./.github/actions/setup-node"
- uses: "./.github/actions/setup-yarn"
- uses: "./.github/actions/node-modules-cache"

Expand All @@ -25,6 +26,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: "./.github/actions/setup-node"
- uses: "./.github/actions/setup-yarn"
- uses: "./.github/actions/node-modules-cache"

Expand All @@ -38,6 +40,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: "./.github/actions/setup-node"
- uses: "./.github/actions/setup-yarn"
- uses: "./.github/actions/node-modules-cache"

Expand All @@ -51,6 +54,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: "./.github/actions/setup-node"
- uses: "./.github/actions/setup-yarn"
- uses: "./.github/actions/node-modules-cache"

Expand Down

0 comments on commit 95db83c

Please sign in to comment.