Skip to content

Commit

Permalink
Chore: [AEA-3894] - Uses Semantic Release for releases (#1202)
Browse files Browse the repository at this point in the history
## Summary

- Routine Change

### Details

Adds npmrc setup to workflows
  • Loading branch information
JackSpagnoliNHS authored Aug 20, 2024
1 parent f8af5e2 commit 0141656
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ jobs:
env:
PYTHON_CONFIGURE_OPTS: --enable-shared

- name: Setting up .npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
echo "@nhsdigital:registry=https://npm.pkg.github.com" >> ~/.npmrc
- name: Install node packages
run: |
make install-node
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ jobs:
env:
PYTHON_CONFIGURE_OPTS: --enable-shared

- name: Setting up .npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
echo "@nhsdigital:registry=https://npm.pkg.github.com" >> ~/.npmrc
- name: Install node packages
run: |
make install-node
Expand Down

0 comments on commit 0141656

Please sign in to comment.