diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b406874..75039d0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,6 +27,10 @@ jobs: uses: actions/configure-pages@v4 - name: Setup Node uses: actions/setup-node@v4 + - name: Prepare npmrc + run: envsubst < ci.npmrc > .npmrc + env: + ARTIFACTORY_TOKEN: '${{ secrets.ARTIFACTORY_TOKEN }}' - name: Install dependencies uses: bahmutov/npm-install@v1 - name: Build project diff --git a/ci.npmrc b/ci.npmrc new file mode 100644 index 0000000..49d673d --- /dev/null +++ b/ci.npmrc @@ -0,0 +1,3 @@ +@pendo:registry=https://pendo.jfrog.io/artifactory/api/npm/web/ +//pendo.jfrog.io/artifactory/api/npm/web/:_auth=${ARTIFACTORY_TOKEN} +//pendo.jfrog.io/artifactory/api/npm/web/:always-auth=true