Skip to content

Commit

Permalink
Update CI workflow to use Node.js 20.9.0 and configure NPM registry
Browse files Browse the repository at this point in the history
  • Loading branch information
BorysShulyak committed Jan 26, 2024
1 parent 495dd5f commit 3e6cdb5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 2
registry-url: ${{ secrets.NPM_REGISTRY_URL }}
always-auth: true
token: ${{ secrets.ACTIONS_PTA }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Git set author name
run: git config --global user.name "runespoorengineering"
Expand All @@ -27,7 +23,12 @@ jobs:
- name: Use Node.js/20.9.0
uses: actions/setup-node@v4
with:
registry-url: ${{ secrets.NPM_REGISTRY_URL }}
always-auth: true
node-version: 20.9.0
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}


- name: Rush Verify Change Logs
run: node common/scripts/install-run-rush.js change --verify
Expand Down

0 comments on commit 3e6cdb5

Please sign in to comment.