Skip to content

Commit

Permalink
chore: Add lint run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3 committed Aug 11, 2024
1 parent 86133c7 commit 20eb32e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"../"
],
"scripts": {
"start": "npm i @diplodoc/lint && npx @diplodoc/lint init"
"start": "./test.sh"
},
"dependencies": {
"@diplodoc/lint": "^1.0.0"
Expand Down
7 changes: 7 additions & 0 deletions test/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

set -e

npm i @diplodoc/lint
npx @diplodoc/lint init
npm run lint

0 comments on commit 20eb32e

Please sign in to comment.