Skip to content

Commit

Permalink
chore: test bundled package without production dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Aug 31, 2023
1 parent 90e5d1b commit e318c16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ jobs:
# When bundled, these dependencies aren't available in normal environments.
# This kind-of fakes such environments, while keeping the required dev packages.
- name: 🧹 Remove bundled dependencies
run: rm -rf node_modules/sucrase
run: |
echo "$(jq 'del(.dependencies)' package.json)" > package.json
npm install --no-package-lock --ignore-scripts
- name: 🧪 Test project
run: xvfb-run -a npm run test:vscode
Expand Down

0 comments on commit e318c16

Please sign in to comment.