ci: 👷 add scope to node setup
This commit is contained in:
6
.github/actions/pnpm-setup/action.yml
vendored
6
.github/actions/pnpm-setup/action.yml
vendored
@@ -13,6 +13,10 @@ inputs:
|
||||
required: false
|
||||
type: boolean
|
||||
default: true
|
||||
scope:
|
||||
required: false
|
||||
type: string
|
||||
default: '@eslit'
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
@@ -21,6 +25,8 @@ runs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ inputs.node-version }}
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
scope: ${{ inputs.scope }}
|
||||
|
||||
- name: Install PNPM
|
||||
uses: pnpm/action-setup@v2
|
||||
|
||||
Reference in New Issue
Block a user