Skip to content

Commit

Permalink
add check dependencies size
Browse files Browse the repository at this point in the history
  • Loading branch information
ohnow committed Apr 4, 2024
1 parent c478ecf commit 798c480
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Audit
description: Check for vulnerabilities in the package
on:
schedule:
- cron: '0 * * * *'
Expand All @@ -16,5 +17,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- name: Install NPM dependencies
run: npm ci
- name: Check dependencies size
run: du -sh node_modules
- name: Run NPM audit
run: npm audit
1 change: 1 addition & 0 deletions .github/workflows/available.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Available
description: Check if latest version of the package is available
on:
schedule:
- cron: '*/1 * * * *'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI
description: Continuous Integration
on:
- push
jobs:
Expand All @@ -15,6 +16,8 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- name: Install NPM dependencies
run: npm ci
- name: Check dependencies size
run: du -sh node_modules
- name: Syntax specification checking using ESLint
run: npm run lint
- name: Run NPM audit
Expand All @@ -35,5 +38,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install NPM dependencies
run: npm ci
- name: Check dependencies size
run: du -sh node_modules
- name: Unit test using Jest
run: npm test
3 changes: 3 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Coverage
description: Code coverage check
on:
- push
jobs:
Expand All @@ -15,5 +16,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- name: Install NPM dependencies
run: npm ci
- name: Check dependencies size
run: du -sh node_modules
- name: Unit test with coverage using Jest
run: npm run coverage
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Continuous Publish
description: Continuous Integration and Continuous Deployment
on:
push:
tags:
Expand All @@ -17,6 +18,8 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- name: Install NPM dependencies
run: npm ci
- name: Check dependencies size
run: du -sh node_modules
- name: Syntax specification checking using ESLint
run: npm run lint
- name: Run NPM audit
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ut.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Test
description: Unit Test for latest dependencies
on:
schedule:
- cron: '0 * * * *'
Expand All @@ -16,5 +17,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- name: Install NPM dependencies
run: npm ci
- name: Check dependencies size
run: du -sh node_modules
- name: Unit test using Jest
run: npm run test

0 comments on commit 798c480

Please sign in to comment.