Skip to content
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

fix build #62

Merged
merged 10 commits into from
Jun 2, 2024
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
39 changes: 0 additions & 39 deletions .circleci/config.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/javascript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Javascript

on:
push:
branches:
- "master"
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run tests
run: xvfb-run -a npm test
4 changes: 4 additions & 0 deletions .vscode-test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// .vscode-test.mjs
import { defineConfig } from "@vscode/test-cli"

export default defineConfig({ files: "out/test/**/*.test.js" })
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "yarn run tslint --project tsconfig.json",
"test": "yarn run compile && node ./out/test/runTest.js",
"test": "yarn run compile && yarn vscode-test",
"format": "$(yarn bin)/prettier --write src/* src/**/* .circleci/* *.md *.json",
"format:ci": "$(yarn bin)/prettier --check src/* src/**/* .circleci/* *.md *.json"
},
Expand All @@ -465,23 +465,25 @@
"@types/glob": "^7.1.3",
"@types/ini": "^1.3.30",
"@types/lodash": "^4.14.170",
"@types/mocha": "^7.0.2",
"@types/mocha": "^10.0.6",
"@types/mz": "^2.7.3",
"@types/node": "^15.12.4",
"@types/vscode": "^1.32.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"esbuild": "^0.11.12",
"glob": "^7.1.7",
"mocha": "^7.2.0",
"mocha": "^10.4.0",
"prettier": "^1.16.4",
"tslint": "^5.12.1",
"typescript": "^4.2.2",
"vscode-test": "^1.3.0"
"typescript": "^4.2.2"
},
"dependencies": {
"git-url-parse": "^11.6.0",
"gitconfiglocal": "^2.1.0",
"ini": "^1.3.5",
"lodash": "^4.17.21",
"mz": "^2.7.0"
"mz": "^2.7.0",
"vscode-test": "^1.6.1"
}
}
21 changes: 0 additions & 21 deletions src/test/runTest.ts

This file was deleted.

38 changes: 0 additions & 38 deletions src/test/suite/index.ts

This file was deleted.

Loading
Loading