add npm install step
This commit is contained in:
parent
ae056fba39
commit
fdb07f650f
3 changed files with 17 additions and 1 deletions
5
.github/workflows/dev_pr.yaml
vendored
5
.github/workflows/dev_pr.yaml
vendored
|
|
@ -4,6 +4,7 @@ on:
|
|||
pull_request:
|
||||
branches:
|
||||
- dev
|
||||
- dallin/lint-modules
|
||||
|
||||
jobs:
|
||||
tsc-check:
|
||||
|
|
@ -50,6 +51,10 @@ jobs:
|
|||
path: binary/node_modules
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('binary/package-lock.json') }}
|
||||
|
||||
- name: Install Root Dependencies
|
||||
run: |
|
||||
npm ci
|
||||
|
||||
- name: extensions/vscode install
|
||||
run: |
|
||||
cd extensions/vscode
|
||||
|
|
|
|||
1
.github/workflows/jetbrains-release.yaml
vendored
1
.github/workflows/jetbrains-release.yaml
vendored
|
|
@ -97,7 +97,6 @@ jobs:
|
|||
with:
|
||||
node-version-file: ".nvmrc"
|
||||
|
||||
# Cache node_modules
|
||||
- name: Cache core node_modules
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
|
|
|||
12
.github/workflows/ts-check.yaml
vendored
12
.github/workflows/ts-check.yaml
vendored
|
|
@ -21,6 +21,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:
|
||||
|
|
@ -45,6 +51,10 @@ jobs:
|
|||
path: binary/node_modules
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('binary/package-lock.json') }}
|
||||
|
||||
- name: Install Root Dependencies
|
||||
run: |
|
||||
npm ci
|
||||
|
||||
- name: Install extension Dependencies
|
||||
run: |
|
||||
cd extensions/vscode
|
||||
|
|
@ -72,11 +82,13 @@ jobs:
|
|||
run: |
|
||||
cd core
|
||||
npx tsc --noEmit
|
||||
npm run lint
|
||||
|
||||
- name: tsc extensions/vscode
|
||||
run: |
|
||||
cd extensions/vscode
|
||||
npx tsc --noEmit
|
||||
npm run lint
|
||||
|
||||
- name: tsc binary
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue