From 0c187082b677a6336cf820e2f414718fefba8ec1 Mon Sep 17 00:00:00 2001 From: Ivan Date: Mon, 9 Dec 2024 23:54:21 -0800 Subject: [PATCH] CI testing --- .github/workflows/ci.yml | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1faa9fa..7b21dbc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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: