Skip to content

Commit 44477f8

Browse files
refactor: streamline dependency installation by removing artifact restoration step (#844)
## 📝 Pull Request Description ### 🔄 Changes - The artifact restoration step was removed from the dependency installation process in the test workflow. - The dependency installation step now uses `pnpm install --frozen-lockfile` for efficiency. - This change streamlines the dependency installation process. ### 💥 Impact - This change improves the efficiency of the CI/CD pipeline. - The system impact is minimal, as only the test workflow is affected. - There is no expected performance impact on the application itself. ### 📋 Checklist - [ ] Code follows the project's coding standards - [ ] Tests have been updated - [ ] Documentation has been updated - [ ] All tests are passing
1 parent 1644bb5 commit 44477f8

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@ jobs:
3737
with:
3838
node: ${{ env.NODE_VERSION }}
3939

40-
- name: Save build artifacts
41-
uses: actions/cache/save@v4
42-
with:
43-
path: .
44-
key: ${{ env.CACHE_KEY }}
45-
4640
unit:
4741
needs: build # Require build to complete before running tests
4842

@@ -59,11 +53,8 @@ jobs:
5953
node-version: ${{ env.NODE_VERSION }}
6054
cache: npm
6155

62-
- name: Restore build artifacts
63-
uses: actions/cache/restore@v4
64-
with:
65-
path: .
66-
key: ${{ env.CACHE_KEY }}
56+
- name: Install dependencies
57+
run: npm ci --include=dev
6758

6859
- name: Run tests
6960
run: npm run test

0 commit comments

Comments
 (0)