From 5697ad485dad9dabb4b9e115af7fb4c1804875cc Mon Sep 17 00:00:00 2001 From: Eugenio Sales Date: Fri, 14 Oct 2022 20:51:22 -0300 Subject: [PATCH] feature #1 - Fix cache --- .github/workflows/nodejs.ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.ci.yml b/.github/workflows/nodejs.ci.yml index ad4d296..2df1225 100644 --- a/.github/workflows/nodejs.ci.yml +++ b/.github/workflows/nodejs.ci.yml @@ -17,13 +17,13 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + - uses: actions/cache@v2 with: - node-version: ${{ matrix.node-version }} - cache: 'npm' + path: '**/node_modules' + key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Install dependencies run: yarn + working-directory: ./src - name: Lint run: yarn lint - name: Typecheck