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 84aac65 commit 0c18708
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,10 @@ jobs:
with:
node-version: "20"

- 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: Clean install dependencies
run: |
rm -rf node_modules
npm ci
- name: Check formatting
run: npm run format:check
Expand All @@ -55,14 +47,6 @@ 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

0 comments on commit 0c18708

Please sign in to comment.