Skip to content
Merged
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
20 changes: 16 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,15 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
- name: Install dependencies
run: npm ci --verbose --foreground-scripts
run: |
# Use public npm registry (package-lock.json is gitignored)
npm config set registry https://registry.npmjs.org/
# Clean install to ensure platform-specific optional deps (rollup native bindings) are resolved correctly
# See: https://github.com/npm/cli/issues/4828
rm -rf node_modules package-lock.json
npm install --force
timeout-minutes: 10
- run: npm run lint
- run: npm run build
Expand All @@ -36,12 +42,18 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
registry-url: https://registry.npmjs.org/
- name: Update npm
run: npm install -g npm@latest
- name: Install dependencies
run: npm ci --verbose --foreground-scripts
run: |
# Use public npm registry (package-lock.json is gitignored)
npm config set registry https://registry.npmjs.org/
# Clean install to ensure platform-specific optional deps (rollup native bindings) are resolved correctly
# See: https://github.com/npm/cli/issues/4828
rm -rf node_modules package-lock.json
npm install --force
timeout-minutes: 10
- run: npm publish --access public

10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
- name: Install dependencies
run: npm ci --verbose --foreground-scripts
run: |
# Use public npm registry (package-lock.json is gitignored)
npm config set registry https://registry.npmjs.org/
# Clean install to ensure platform-specific optional deps (rollup native bindings) are resolved correctly
# See: https://github.com/npm/cli/issues/4828
rm -rf node_modules package-lock.json
npm install --force
timeout-minutes: 10
- run: npm run lint
- run: npm run build
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ processed/
.git/hooks/pre-commit


package-lock.json
3 changes: 0 additions & 3 deletions .npmrc

This file was deleted.

Loading