Skip to content

Commit 1ba2327

Browse files
workflow
1 parent f0d8593 commit 1ba2327

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/manual-proxy-environment-deploy.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
required: false
1919
default: false
2020
type: boolean
21+
nodejs_version:
22+
description: "Node.js version, set by the CI/CD pipeline workflow"
23+
required: true
24+
type: string
2125

2226
permissions:
2327
contents: read
@@ -36,11 +40,10 @@ jobs:
3640
node-version: 22
3741

3842
- name: Npm install
39-
working-directory: .
40-
env:
41-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
run: npm ci
43-
shell: bash
43+
uses: ./.github/actions/node-install
44+
with:
45+
node-version: ${{ inputs.nodejs_version }}
46+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4447

4548
- name: "Check if pull request exists for this branch and set ENVIRONMENT/APIM_ENV"
4649
id: pr_exists

0 commit comments

Comments
 (0)