Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/actions/npm-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ runs:

- name: Install dependencies
shell: bash
run: npm ci --include=dev
# replace-registry-host=always forces npm to resolve every tarball from the
# public registry configured above, ignoring any private-registry host that
# may have leaked into package-lock.json's "resolved" URLs (which would
# otherwise fail with E401). See npm docs: config/replace-registry-host.
run: npm ci --include=dev --replace-registry-host=always

- name: Build package
if: inputs.require-build == 'true'
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci --ignore-scripts
registry-url: 'https://registry.npmjs.org'
# replace-registry-host=always forces npm to resolve every tarball from the
# public registry above, ignoring any private-registry host that may have
# leaked into package-lock.json's "resolved" URLs (which would otherwise
# fail in public CI with E401). See npm docs: config/replace-registry-host.
- run: npm ci --ignore-scripts --replace-registry-host=always
- run: npm run lint
- run: npm run build
- run: npm run test:ci
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading