Skip to content

Commit

Permalink
Update linting command for library
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianGosebrink committed Mar 18, 2024
1 parent af12588 commit 4a97bcb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- name: Installing Dependencies
run: npm ci

- name: Linting Frontend
run: npm run lint
- name: Linting Library
run: npm run lint-lib

- name: Testing Frontend
run: npm run test-lib-ci
Expand Down
2 changes: 1 addition & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pre-commit:
run: npm run check-blockwords

lint:
run: npm run lint
run: npm run lint-lib
#
# pre-commit:
# parallel: true
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"build-lib-prod": "ng build angular-auth-oidc-client --configuration production && npm run schematics-build && npm run copy-files",
"test-lib": "ng test angular-auth-oidc-client --code-coverage",
"test-lib-ci": "ng test angular-auth-oidc-client --watch=false --browsers=ChromeHeadlessNoSandbox --code-coverage",
"lint-lib": "ng lint angular-auth-oidc-client",
"pack-lib": "npm run build-lib-prod && npm pack ./dist/angular-auth-oidc-client",
"publish-lib": "npm run build-lib-prod && npm publish ./dist/angular-auth-oidc-client",
"publish-lib-next": "npm run build-lib && npm publish --tag next ./dist/angular-auth-oidc-client",
Expand Down

0 comments on commit 4a97bcb

Please sign in to comment.