Test with real npm: mode=local, testMonorepo=false #57
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: Test with real npm | |
run-name: 'Test with real npm: mode=${{ inputs.mode }}, testMonorepo=${{ inputs.testMonorepo }}' | |
on: | |
workflow_dispatch: | |
inputs: | |
mode: | |
description: "'global' (real NPM installed globally) or 'local' (real NPM installed locally) " | |
type: choice | |
required: true | |
options: | |
- global | |
- local | |
testMonorepo: | |
description: 'Test monorepo by specifying folder in config' | |
type: boolean | |
default: false | |
permissions: | |
id-token: write | |
contents: write | |
jobs: | |
test: | |
uses: ./.github/workflows/common-test.yml | |
with: | |
mode: ${{ inputs.mode }} | |
testMonorepo: ${{ inputs.testMonorepo }} | |
secrets: inherit |