From 2226a386a175c5ae30700b26681a6481ce44774d Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Tue, 13 Jul 2021 02:08:10 +0200 Subject: [PATCH] ci: update actions/setup-node to v2, enable cache (#1008) * ci: update actions/setup-node to v2 * ci: enable npm package cache * Fix YAML syntax error --- .github/workflows/node.js.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 949b40b79..47bf39253 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -18,9 +18,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + cache: 'npm' - name: npm 7 run: npm i -g npm@7 - run: npm ci --ignore-scripts