Skip to content

Commit

Permalink
chore(workflows): update with npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xidedix committed Nov 29, 2024
1 parent ca9cb8e commit 625c860
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: project check
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Project check
run: |
npm i
npm run build:icons:prod
npm run build:lib:prod
npm run lint:lib
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/project-chartjs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: project check
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Project check
run: |
npm i
npm run build:chartjs:prod
npm run lint:chartjs
npm run test:chartjs:prod
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/project-icons-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: project check
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Project check
run: |
npm i
npm run build:icons:prod
npm run lint:icons
npm run test:icons:prod
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/project-lib-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: project check
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Project check
run: |
npm i
npm run build:icons:prod
npm run build:lib:prod
npm run lint:lib
Expand Down

0 comments on commit 625c860

Please sign in to comment.