Skip to content

Commit 625c860

Browse files
committedNov 29, 2024
chore(workflows): update with npm ci
·
5.5.25.3.2
1 parent ca9cb8e commit 625c860

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed
 

‎.github/workflows/build-check.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ jobs:
2121
uses: actions/setup-node@v4
2222
with:
2323
node-version: ${{ matrix.node-version }}
24-
- name: project check
24+
cache: 'npm'
25+
- name: Install dependencies
26+
run: npm ci
27+
- name: Project check
2528
run: |
26-
npm i
2729
npm run build:icons:prod
2830
npm run build:lib:prod
2931
npm run lint:lib

‎.github/workflows/project-chartjs-check.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ jobs:
2525
uses: actions/setup-node@v4
2626
with:
2727
node-version: ${{ matrix.node-version }}
28-
- name: project check
28+
cache: 'npm'
29+
- name: Install dependencies
30+
run: npm ci
31+
- name: Project check
2932
run: |
30-
npm i
3133
npm run build:chartjs:prod
3234
npm run lint:chartjs
3335
npm run test:chartjs:prod

‎.github/workflows/project-icons-check.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ jobs:
2525
uses: actions/setup-node@v4
2626
with:
2727
node-version: ${{ matrix.node-version }}
28-
- name: project check
28+
cache: 'npm'
29+
- name: Install dependencies
30+
run: npm ci
31+
- name: Project check
2932
run: |
30-
npm i
3133
npm run build:icons:prod
3234
npm run lint:icons
3335
npm run test:icons:prod

‎.github/workflows/project-lib-check.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ jobs:
2525
uses: actions/setup-node@v4
2626
with:
2727
node-version: ${{ matrix.node-version }}
28-
- name: project check
28+
cache: 'npm'
29+
- name: Install dependencies
30+
run: npm ci
31+
- name: Project check
2932
run: |
30-
npm i
3133
npm run build:icons:prod
3234
npm run build:lib:prod
3335
npm run lint:lib

0 commit comments

Comments
 (0)
Please sign in to comment.