diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9eac0aa4..f0a5ac1f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,15 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 + + - name: Cache Node.js modules + uses: actions/cache@v4 + with: + path: node_modules + key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-node- + - name: Install dependencies run: yarn - name: Run all lint tasks