From bf3b109cdfe540f27ed05008b51305eea3141721 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sun, 28 May 2023 17:51:12 -0400 Subject: [PATCH] ci: use setup-node caching --- .github/workflows/nodejs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index bcb3d7b0..a03989c3 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -20,6 +20,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + cache: npm - run: npm ci - run: npm test @@ -29,6 +30,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 + with: + cache: npm - run: npm ci - run: npm run lint - run: npm run toc