SYS-183 sync up with other changes and add unit tests #43
Workflow file for this run
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
name: Node CI Workflow | ||
on: | ||
push: | ||
branches: | ||
- dev | ||
pull_request: | ||
branches: | ||
- dev | ||
workflow_dispatch: | ||
inputs: | ||
workflowBranch: | ||
description: 'Select the branch to run the workflow on' | ||
required: true | ||
default: 'main' | ||
type: choice | ||
options: | ||
- dev | ||
- main | ||
jobs: | ||
ci-dev: | ||
if: ${{ github.event.inputs.workflowBranch == 'dev' }} | ||
uses: shardeum/github-automation/.github/workflows/node-ci-shared.yml@dev | ||
ci-main: | ||
if: ${{ github.event.inputs.workflowBranch == 'main' }} | ||
uses: shardeum/github-automation/.github/workflows/node-ci-shared.yml@main | ||
Check failure on line 27 in .github/workflows/ci.yml GitHub Actions / .github/workflows/ci.ymlInvalid workflow file
|