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