From 6294ec8335481dfb9d90fa05d6fc9396abb6d020 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Mon, 28 Oct 2024 16:02:01 -0700 Subject: [PATCH] lint vscode and cache core modules --- .github/workflows/dev_pr.yaml | 7 +++++++ extensions/vscode/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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