Skip to content

Commit

Permalink
Using environment for GHA (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
javuto authored Feb 9, 2024
1 parent 474597b commit f181816
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-hardhat-chainlink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
environment: publish

steps:
- name: Checkout code
Expand All @@ -19,7 +20,7 @@ jobs:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
always-auth: true

- name: Setup npm authentication
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

Expand Down

0 comments on commit f181816

Please sign in to comment.