diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index f0e056b..f445e68 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -17,37 +17,6 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Cache dependencies - uses: actions/cache@v3 - with: - path: | - ~/.npm - node_modules - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - - name: Cache Next.js build - uses: actions/cache@v3 - with: - path: | - ${{ github.workspace }}/.next/cache - ${{ github.workspace }}/out - key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.[jt]s', '**/*.[jt]sx') }} - restore-keys: | - ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}- - ${{ runner.os }}-nextjs- - - - name: Cache TypeScript - uses: actions/cache@v3 - with: - path: | - tsconfig.tsbuildinfo - .next/types - key: ${{ runner.os }}-tsc-${{ hashFiles('tsconfig.json', 'src/**/*.ts', 'src/**/*.tsx') }} - restore-keys: | - ${{ runner.os }}-tsc- - - name: Install dependencies run: npm ci --prefer-offline --no-audit --no-fund env: diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 4478ec4..1e92609 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -16,37 +16,6 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Cache dependencies - uses: actions/cache@v3 - with: - path: | - ~/.npm - node_modules - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - - name: Cache Next.js build - uses: actions/cache@v3 - with: - path: | - ${{ github.workspace }}/.next/cache - ${{ github.workspace }}/out - key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.[jt]s', '**/*.[jt]sx') }} - restore-keys: | - ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}- - ${{ runner.os }}-nextjs- - - - name: Cache TypeScript - uses: actions/cache@v3 - with: - path: | - tsconfig.tsbuildinfo - .next/types - key: ${{ runner.os }}-tsc-${{ hashFiles('tsconfig.json', 'src/**/*.ts', 'src/**/*.tsx') }} - restore-keys: | - ${{ runner.os }}-tsc- - - name: Install dependencies run: npm ci --prefer-offline --no-audit --no-fund env: