Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ jobs:
- run: npm ci
- run: xvfb-run -a npm run test:coverage
if: runner.os == 'Linux'
- run: npm test
# On non-Linux, compile and run tests directly to skip the redundant lint
# (lint is OS-agnostic and already runs on Linux via test:coverage)
- run: npm run compile
if: runner.os != 'Linux'
- run: npm run test:vscode
if: runner.os != 'Linux'
- name: Upload coverage to Codecov
if: runner.os == 'Linux'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
release-please:
timeout-minutes: 5
permissions:
contents: write # for googleapis/release-please-action to create release commit
pull-requests: write # for googleapis/release-please-action to create release PR
Expand All @@ -26,6 +27,7 @@ jobs:

release:
needs: release-please
timeout-minutes: 20
runs-on: ubuntu-latest
environment: marketplace
if: needs.release-please.outputs.release_created == 'true'
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test",
"test:vscode": "vscode-test",
"test:unit": "npm run compile && c8 --config .c8rc.json mocha out/unit/unit.test.js",
"test:coverage": "npm run compile && npm run lint && c8 --config .c8rc.json mocha out/unit/unit.test.js && vscode-test",
"deploy": "vsce publish"
Expand Down
Loading