Skip to content

Commit

Permalink
Chore: Lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
ChocolateLoverRaj committed Jun 23, 2021
1 parent 70ad8e9 commit c417789
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 66 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,20 @@ jobs:
- uses: actions/checkout@v2
- uses: ChocolateLoverRaj/npm-version/freeze@2.0.0
with:
options: 'freeze.json'
options: 'freeze.json'
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 14
- name: Setup Pnpm
uses: pnpm/action-setup@v2.0.1
with:
version: 6.4
run_install: true
- name: Lint All Packages
run: pnpm recursive run lint
4 changes: 3 additions & 1 deletion packages/test-semver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"doc": "doc"
},
"scripts": {
"lint": "eslint .",
"build": "jsdoc2md index.js > doc/API.md",
"test": "echo \"Error: no test specified\" && exit 1",
"semantic-release": "semantic-release"
Expand All @@ -23,6 +24,7 @@
},
"homepage": "https://github.com/chocolateloverraj/test-semver#readme",
"devDependencies": {
"eslint": "^7.29.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
Expand All @@ -36,4 +38,4 @@
"publishConfig": {
"access": "public"
}
}
}
70 changes: 6 additions & 64 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c417789

Please sign in to comment.