npm i
- Open VS Code with this repo at the root of the workspace
- VS Code > View > Run > Run Extension:
- This will open a new VS Code window
- In that new window, File > Open > select a repo that has a
.circleci/config.yml
file - Click the Local CI icon on the left
- You should see the CircleCI® jobs for that workspace:
- As you make edits, click Restart in the Local CI repo to see the edits apply in the second window:
- If step 3 causes the warning "The task 'npm: watch' cannot be tracked," you can either activate the extension TypeScript + Webpack Problem Matchers, or manually do
npm run watch
and click "Debug Anyway."
npm run lint
This will also run on a pre-commit hook that will install on npm i
You may want to downlod and install a development .vsix
file, instead of installing this extension via the VS Code Marketplace.
You'll need to be logged into at least a free CircleCI account for this.
Also, it'd be good to use Firefox instead of Chrome. It looks like Chrome converts the .vsix
file into an unusable .zip
file on downloading it.
- Click the commit check you want to download the
.vsix
for. This could be in a PR, or simply thedevelop
branch. - For the package job, click Details
- Click the Artifacts tab
- Click the
.vsix
file to download it:
downloading-a-build.mp4
(No audio in this video)
- Enter the Command Palette, either through a shortcut, or View > Command Palette
- Type 'Extensions: Install from VSIX'
- Select the Local CI
.vsix
file, maybe the one you downloaded