-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f1c3488
commit 4e3b660
Showing
2 changed files
with
46 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: 'Shared Setup' | ||
description: 'Shared setup steps for CI jobs' | ||
|
||
inputs: | ||
task-type: | ||
description: 'Task type (build, test, lint)' | ||
required: true | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: graalvm/setup-graalvm@v1 | ||
with: | ||
java-version: '21.0.2' | ||
distribution: 'graalvm-community' | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
cache: 'npm' | ||
|
||
- run: npm ci | ||
|
||
- uses: nrwl/nx-set-shas@v4 | ||
|
||
- run: npx nx affected -t=${{ inputs.task-type }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters