-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dynamic node version on build workflow (#5)
* feat: add dynamic node version on buidl workflow * test: add test for build with node version * test: add test only on pr * test: remove trigger on merge to main * test: fix source workflow * test: test without node version * test: change version to branch instead * test: add test for node version * test: remove pull request action
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 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 |
---|---|---|
|
@@ -9,6 +9,9 @@ on: | |
concurrency-group: | ||
required: false | ||
type: string | ||
node-version: | ||
required: false | ||
type: string | ||
|
||
concurrency: | ||
group: ${{ inputs.concurrency-group || github.head_ref }} | ||
|
@@ -22,6 +25,9 @@ jobs: | |
run: | ||
shell: bash | ||
steps: | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ inputs.node-version || '16'}} | ||
- uses: vtno/seaeye/.github/actions/[email protected] | ||
with: | ||
working-dir: ${{ inputs.working-dir }} | ||
|
@@ -34,6 +40,9 @@ jobs: | |
run: | ||
shell: bash | ||
steps: | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ inputs.node-version || '16'}} | ||
- uses: vtno/seaeye/.github/actions/[email protected] | ||
with: | ||
working-dir: ${{ inputs.working-dir }} | ||
|
@@ -46,6 +55,9 @@ jobs: | |
run: | ||
shell: bash | ||
steps: | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ inputs.node-version || '16'}} | ||
- uses: vtno/seaeye/.github/actions/[email protected] | ||
with: | ||
working-dir: ${{ inputs.working-dir }} | ||
|
@@ -58,6 +70,9 @@ jobs: | |
run: | ||
shell: bash | ||
steps: | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ inputs.node-version || '16'}} | ||
- uses: vtno/seaeye/.github/actions/[email protected] | ||
with: | ||
working-dir: ${{ inputs.working-dir }} |