-
Notifications
You must be signed in to change notification settings - Fork 938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run vscode tests in the CI #7001
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved, going to let Joe take a look at this too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some questions/potential minor efficiency improvements, but very glad to be adding these to CI.
.github/workflows/node-test.yml
Outdated
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: npm | ||
cache-dependency-path: npm-shrinkwrap.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be firebase-vscode/[package-lock.json instead (or in addition)? I assume we want to cache the vscode deps here.
cache-dependency-path: npm-shrinkwrap.json | ||
|
||
- run: npm i -g npm@9.5 | ||
- run: npm ci |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double checking - if you remove this line, do the tests still pass?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I doubt it. We have to run npm i
in both the root and the vscode folder.
The npm i -g
above doesn't count as it only updates the npm version and nothing else.
Description
Scenarios Tested
Sample Commands