Skip to content

Commit

Permalink
chore: add cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ya7on committed Jan 12, 2025
1 parent 1bcb535 commit eab6df3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy static content to Pages
name: Deploy Github Pages

on:
push:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: NPM Install
run: npm install
- name: NPM Build
Expand All @@ -27,6 +29,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: NPM Install
run: npm install
- name: Linter
run: npm run lint

Expand All @@ -38,5 +44,9 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: NPM Install
run: npm install
- name: Linter
run: npm run format-check

0 comments on commit eab6df3

Please sign in to comment.