diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index fe56b07..5109568 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -46,6 +46,15 @@ jobs: uses: https://github.com/actions/setup-node@v2 with: node-version: '20' + cache: 'npm' + - + name: Restore node_modules cache + uses: actions/cache@v2 + with: + path: node_modules + key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node_modules - name: Install node dependencies run: npm ci