From e704f643866aa8b86061ec9887172d806a11047d Mon Sep 17 00:00:00 2001 From: David Riccitelli Date: Wed, 13 Dec 2023 12:31:20 +0200 Subject: [PATCH] add node cache --- .../azure-static-web-apps-happy-pebble-0cf31410f.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-happy-pebble-0cf31410f.yml b/.github/workflows/azure-static-web-apps-happy-pebble-0cf31410f.yml index 326da92..730e90e 100644 --- a/.github/workflows/azure-static-web-apps-happy-pebble-0cf31410f.yml +++ b/.github/workflows/azure-static-web-apps-happy-pebble-0cf31410f.yml @@ -11,13 +11,17 @@ jobs: runs-on: ubuntu-latest name: Build and Deploy Job steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: true - - name: Install Node deps - run: npm i + - uses: actions/setup-node@v3 + with: + node-version: '18' + cache: 'npm' + - name: Install Node deps + run: npm install - name: Rebuild 'analysis' API docs run: npm run docusaurus clean-api-docs analysis && npm run docusaurus gen-api-docs analysis - name: Rebuild 'classification' API docs