Skip to content

Commit

Permalink
adjust ci for non-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewNolte committed May 12, 2024
1 parent e87a2a7 commit 3ca985f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ jobs:
- name: npm lint
run: npm run lint
- name: npm test-headless
run: npm run test-headless
if: matrix.os == 'ubuntu-latest'
run: npm run test-headless
- name: npm test
if: matrix.os != 'ubuntu-latest'
run: npm run test
2 changes: 1 addition & 1 deletion .github/workflows/publish-marketplace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ on:
workflow_dispatch:
inputs:
kind:
description: "Update kind (major, minor, patch)"
description: 'Update kind (major, minor, patch)'
default: 'patch'

name: Publish extension to marketplace
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@
"format": "npx prettier --write **/*.ts",
"test-compile": "tsc -p ./",
"test-headless": "npm run compile-tests && xvfb-run node ./out/src/test/runTest.js",
"test": "echo 'Tests are disabled for now' && exit 0",
"test": "npm run compile-tests && node ./out/src/test/runTest.js",
"compile": "tsc -p ./",
"package": "vsce package",
"watch": "tsc -w -p ./",
Expand Down Expand Up @@ -757,4 +757,4 @@
"publisherDisplayName": "AndrewNolte",
"publisherId": "fcf32c99-a624-437b-9f47-9333ea128623"
}
}
}

0 comments on commit 3ca985f

Please sign in to comment.