Skip to content

Commit

Permalink
Fixing CI/CD auth
Browse files Browse the repository at this point in the history
  • Loading branch information
lancegliser committed Jun 14, 2024
1 parent 7c29614 commit a9dc99f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,15 @@ jobs:
run: |
sed -i "s|\"version\": \"0.0.0\"|\"version\": \"${{ needs.metadata.outputs.version }}\"|g" ./package.json
- name: Build and publish Node package
- name: Install dependencies
env:
NPM_TOKEN: ${{ secrets.JFROG_ACCESS_TOKEN }}
run: |
echo -e "\n//dpbuild.jfrog.io/:_authToken=${NPM_TOKEN}" >> .npmrc
npm ci
- name: Build package
run: |
npm run build
# Remove .npmrc so that we can easily change registries to npm-edge (for publishing)
rm -f .npmrc
Expand Down

0 comments on commit a9dc99f

Please sign in to comment.