Skip to content

Commit

Permalink
ci(js): enforce tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking committed Jan 9, 2024
1 parent b98e362 commit 948e343
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/typescript-CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
- name: Install Dependencies
working-directory: ./js
run: pnpm install --frozen-lockfile -r
- name: Test
working-directory: ./js
run: pnpm run -r test
- name: Pre-Build
working-directory: ./js
run: pnpm run -r prebuild
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"prebuild": "rimraf dist",
"build": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
"type:check": "tsc --noEmit",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"NOOP: semantic conventions has no tests\" && exit 0"
},
"files": [
"dist",
Expand Down

0 comments on commit 948e343

Please sign in to comment.