Skip to content

Commit ff1bba1

Browse files
committed
CCM-12614: add github package manager authentication
1 parent 5ec20e1 commit ff1bba1

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/actions/build-docs/action.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,21 @@ inputs:
44
version:
55
description: "Version number"
66
required: true
7+
node-version:
8+
description: 'Node.js version'
9+
required: true
10+
GITHUB_TOKEN:
11+
description: "Token for access to github package registry"
12+
required: true
713
runs:
814
using: "composite"
915
steps:
1016
- name: Checkout
1117
uses: actions/checkout@v5
1218
- uses: ./.github/actions/node-install
1319
with:
14-
node-version: ${{ inputs.nodejs_version }}
15-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
node-version: ${{ inputs.node-version }}
21+
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
1622
- name: Npm cli install
1723
working-directory: ./docs
1824
run: npm ci

.github/workflows/stage-3-build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@ jobs:
4444
uses: ./.github/actions/build-docs
4545
with:
4646
version: "${{ inputs.version }}"
47+
node-version: ${{ inputs.nodejs_version }}
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)