-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ [CI] Added a common action to perform runner setup
Signed-off-by: Alberto Codutti <[email protected]>
- Loading branch information
Showing
5 changed files
with
106 additions
and
98 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
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,23 @@ | ||
name: 'Set Up Runner' | ||
description: | | ||
Set up runner with tools required for the build | ||
- Setup Java 11 | ||
- Setup Node 16 | ||
- Install Swagger CLI | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup Java 11 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-version: 11 | ||
|
||
- name: Setup Node 16 | ||
uses: actions/setup-node@v4 # Installs Node and NPM | ||
with: | ||
node-version: 16 | ||
|
||
- name: Install Swagger CLI # Installs Swagger CLI to bundle OpenAPI files | ||
run: 'npm install -g @apidevtools/swagger-cli' | ||
shell: bash |
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
Oops, something went wrong.