From 4219605675f3325a903d278fb00501e8d7d7c0be Mon Sep 17 00:00:00 2001 From: RobiNino Date: Wed, 17 Jul 2024 10:12:11 +0300 Subject: [PATCH] yarn basic auth --- .github/workflows/npm.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index d8fbc9b90..f6d72034c 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -34,9 +34,14 @@ jobs: with: node-version: ${{ matrix.node }} + - name: enable yarn + run: corepack enable + - name: Run JFrog CLI run: | + node -v npm -v + yarn -v jf -v jf rt dl generic-local-robi/v2/2.100.0/jfrog-cli-linux-amd64/jfrog --flat --fail-no-op chmod +x ./jfrog @@ -45,6 +50,9 @@ jobs: ./jfrog rt ping # Collect environment variables for the build cd npm-example - ../jfrog npm-config --repo-resolve npm-remote - ../jfrog npm i + # ../jfrog npm-config --repo-resolve npm-remote + # ../jfrog npm i + # ../jfrog rt bp + ../jfrog yarn-config --repo-resolve npm-remote + ../jfrog yarn i ../jfrog rt bp \ No newline at end of file