diff --git a/.github/workflows/dev_pr.yaml b/.github/workflows/dev_pr.yaml index d909a279a..dafa51a87 100644 --- a/.github/workflows/dev_pr.yaml +++ b/.github/workflows/dev_pr.yaml @@ -20,6 +20,12 @@ jobs: with: node-version-file: ".nvmrc" + - name: Cache root node_modules + uses: actions/cache@v3 + with: + path: node_modules + key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} + - name: Cache extension node_modules uses: actions/cache@v3 with: @@ -71,6 +77,7 @@ jobs: run: | cd extensions/vscode npx tsc --noEmit + npm run lint - name: core checks run: | diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 8a228e9d0..8856dd61e 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -606,4 +606,4 @@ "ws": "^8.13.0", "yarn": "^1.22.21" } -} +} \ No newline at end of file