diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index e38beac..3fbe2b1 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -17,6 +17,16 @@ jobs: with: node-version: "20" + - name: Cache node modules + uses: actions/cache@v3 + with: + path: | + node_modules + ~/.cache/yarn + key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- + - name: Install & Build run: yarn && yarn build