Skip to content

Commit

Permalink
chore: run format & lint checks in pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Hill <[email protected]>
  • Loading branch information
gregdhill committed Sep 23, 2024
1 parent 6747c79 commit 4038497
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ jobs:
node-version: "20"
registry-url: "https://registry.npmjs.org"
always-auth: true
- name: Install deps
run: npm ci
- run: npm ci
- run: ls
- run: npm run format:check
- run: npm run lint
- name: Run tests
run: npm test
2 changes: 1 addition & 1 deletion sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build": "tsc -p tsconfig.json",
"lint": "eslint . --ext .ts",
"format": "prettier --write {examples,src,test}",
"format:check": "prettier --check {examples,src,test}"
"format:check": "ls && prettier --check {examples,src,test}"
},
"files": [
"dist/**/*",
Expand Down

0 comments on commit 4038497

Please sign in to comment.