Skip to content

Commit

Permalink
CI testing..
Browse files Browse the repository at this point in the history
  • Loading branch information
ivntsng committed Dec 10, 2024
1 parent 0c18708 commit 8a74f71
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,18 @@ jobs:
with:
node-version: "20"

- name: Clean install dependencies
run: |
rm -rf node_modules
npm ci
- name: Restore cache
id: restore-cache
uses: actions/cache/restore@v3
with:
path: |
node_modules/
key: deps-${{ github.event.pull_request.base.sha || github.sha }}
restore-keys: |
deps-
- name: Install dependencies
run: npm install

- name: Check formatting
run: npm run format:check
Expand All @@ -47,6 +55,14 @@ jobs:
- name: Build frontend
run: npm run build

- name: Save cache
uses: actions/cache/save@v3
if: github.ref == 'refs/heads/master'
with:
path: |
node_modules/
key: deps-${{ steps.restore-cache.outputs.cache-primary-key }}

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@
"format:check": "prettier --check ."
},
"dependencies": {
"@jridgewell/gen-mapping": "^0.3.3",
"depcheck": "^1.4.7",
"motion": "12.0.0-alpha.2",
"next": "15.0.4",
"react": "^19.0.0",
"react-dom": "^19.0.0"
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/node": "^20",
Expand Down

0 comments on commit 8a74f71

Please sign in to comment.