Skip to content

Commit 0b98e4a

Browse files
committed
feat: add artifactory access
1 parent 8058a79 commit 0b98e4a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@ jobs:
1313
strategy:
1414
matrix:
1515
node-version: [10.x, 12.x, 14.x, 16.x, 18.x]
16-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
17-
1816
steps:
1917
- uses: actions/checkout@v4
2018
- name: Use Node.js ${{ matrix.node-version }}
2119
uses: actions/setup-node@v4
2220
with:
23-
2421
node-version: ${{ matrix.node-version }}
2522
cache: "npm"
23+
- name: Write .npmrc from env
24+
run: echo "${NPM_CREDENTIALS}" > ${{ github.workspace }}/.npmrc
25+
env:
26+
NPM_CREDENTIALS: ${{ secrets.NPM_CREDENTIALS }}
2627
- run: npm ci
2728
- run: npm test

0 commit comments

Comments
 (0)