Skip to content

Commit df7219d

Browse files
authored
refactor: optimize CI workflow for ClarityVault2026 (#134)
Updated CI workflow to use Node.js v20 and added caching for Node.js modules.
2 parents 5e8540f + 1680d5d commit df7219d

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Wallet UI CI
1+
name: ClarityVault2026 CI
22

33
on:
44
push:
@@ -14,13 +14,21 @@ jobs:
1414
- name: Checkout code
1515
uses: actions/checkout@v3
1616

17-
- name: Setup Node.js
17+
- name: Setup Node.js v20
1818
uses: actions/setup-node@v3
1919
with:
20-
node-version: '18'
20+
node-version: '20'
21+
22+
- name: Cache Node.js modules
23+
uses: actions/cache@v3
24+
with:
25+
path: ~/.npm
26+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
27+
restore-keys: |
28+
${{ runner.os }}-node-
2129
2230
- name: Install dependencies
23-
run: npm install
31+
run: npm ci
2432

2533
- name: Run tests
2634
run: npm run test

0 commit comments

Comments
 (0)