Skip to content

Commit

Permalink
fix: move lint to test step
Browse files Browse the repository at this point in the history
to maintain backwards compatibility
  • Loading branch information
miles-grant-ibigroup committed Jul 15, 2021
1 parent f466feb commit 01dcf1d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ jobs:
uses: bahmutov/npm-install@v1
with:
install-command: yarn --frozen-lockfile --network-concurrency 1
- name: Run Lint
run: yarn lint
- name: Run Tests
- name: Run Lint and Tests
run: yarn test
- name: Build Package
run: yarn build
Expand Down
5 changes: 4 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Coverage directory used by tools like istanbul
coverage
tmp
tmp

# Lock file
yarn.lock
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"prepare": "tsdx build -i index.ts --target node",
"pretest": "yarn",
"semantic-release": "semantic-release",
"test": "yarn run jest && yarn run lint-docs",
"test": "yarn run lint && yarn run jest && yarn run lint-docs",
"commit": "tsdx commit"
},
"repository": {
Expand Down

0 comments on commit 01dcf1d

Please sign in to comment.