Skip to content

Commit

Permalink
include type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed May 24, 2024
1 parent c693220 commit 82d95e6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tech-debt-burndown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,15 @@ jobs:
name: unused-exports-pr

- name: Set action output
run: npx tsx scripts/tech-debt-burndown-report.ts > $GITHUB_STEP_SUMMARY
run: npm run ts scripts/tech-debt-burndown-report.ts > $GITHUB_STEP_SUMMARY

# for syntax information, see https://github.com/peter-evans/create-or-update-comment#setting-the-comment-body-from-a-file
- name: Set comment body
id: set-comment-body
# GitHub - "Warning: Make sure the delimiter you're using is randomly generated and unique for each run.
# For more information, see https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#understanding-the-risk-of-script-injections"
run: |
body=$(npx scripts/tech-debt-burndown-report.ts)
body=$(npm run ts scripts/tech-debt-burndown-report.ts)
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
echo "body<<$EOF" >> $GITHUB_OUTPUT
echo "$body" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Please see our [Contributor Code of Conduct](https://github.com/ionic-team/stenc
1. There's no need to install a specific version of npm or Node right now, it shall be done automatically for you in
the next step
5. Run `npm ci`
6. Run `npm install.jest` to install dependencies for Stencil's testing submodule
6. Run `npm run install.jest` to install dependencies for Stencil's testing submodule


### Updates
Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"testing/"
],
"scripts": {
"build": "npm run clean && npm run tsc.prod && tsx scripts/index.ts --prod --ci",
"build": "npm run clean && npm run tsc.prod && npm run ts scripts/index.ts --prod --ci",
"build.watch": "npm run build -- --watch",
"build.updateSelectorEngine": "tsx scripts/updateSelectorEngine.ts",
"build.updateSelectorEngine": "npm run ts scripts/updateSelectorEngine.ts",
"clean": "rm -rf build/ cli/ compiler/ dev-server/ internal/ mock-doc/ sys/ testing/ && npm run clean:scripts && npm run clean.screenshots",
"clean.screenshots": "rm -rf test/end-to-end/screenshot/builds test/end-to-end/screenshot/images",
"clean:scripts": "rm -rf scripts/build",
Expand All @@ -34,15 +34,15 @@
"prettier": "npm run prettier.base -- --write",
"prettier.base": "prettier --cache \"./({bin,scripts,src,test}/**/*.{ts,tsx,js,jsx})|bin/stencil|.github/(**/)?*.(yml|yaml)|*.js\"",
"prettier.dry-run": "npm run prettier.base -- --list-different",
"release.ci.prepare": "tsx scripts/index.ts --release --ci-prepare",
"release.ci": "NODE_OPTIONS=--max-old-space-size=4096 tsx scripts/index.ts --release --ci-publish",
"release.ci.prepare": "npm run ts scripts/index.ts --release --ci-prepare",
"release.ci": "NODE_OPTIONS=--max-old-space-size=4096 npm run ts scripts/index.ts --release --ci-publish",
"spellcheck": "npm run spellcheck.code && npm run spellcheck.markdown",
"spellcheck.code": "cspell --config cspell-code.json --no-progress \"src/**/*.ts\" \"src/**/*.tsx\" \"scripts/**/*.ts\"",
"spellcheck.markdown": "cspell --config cspell-markdown.json --no-progress \"*.md\" \"**/*.md\"",
"test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --coverage",
"test.analysis": "cd test && npm run analysis.build-and-analyze",
"test.bundlers": "cd test && npm run bundlers",
"test.dist": "tsx scripts/index.ts --validate-build",
"test.dist": "npm run ts scripts/index.ts --validate-build",
"test.end-to-end": "cd test/end-to-end && npm ci && npm test && npm run test.dist",
"test.jest": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js",
"test.wdio": "cd test/wdio && npm ci && npm run test",
Expand All @@ -52,6 +52,7 @@
"test.docs-build": "cd test && npm run build.docs-json && npm run build.docs-readme",
"test.watch": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --watch",
"test.watch-all": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --watchAll --coverage",
"ts": "tsc --noEmit --project scripts/tsconfig.json && tsx",
"tsc.prod": "tsc"
},
"devDependencies": {
Expand Down

0 comments on commit 82d95e6

Please sign in to comment.