Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nhedger committed Jul 30, 2024
1 parent 0410454 commit 39adacd
Show file tree
Hide file tree
Showing 12 changed files with 972 additions and 39 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Integrate

on:
push:
branches: [main]
pull_request:
workflow_dispatch:

jobs:

# Check quality of the code
quality:
name: Quality
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Biome
uses: biomejs/setup-biome@v2
- name: Run Biome
run: biome ci --reporter=github

test:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4


1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vscode-test
dist
node_modules
out
Expand Down
7 changes: 7 additions & 0 deletions .vscode-test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { defineConfig } from "@vscode/test-cli";

export default defineConfig({
files: "out/test/suites/**/*.js",
label: "Multi-root Workspace Tests",
workspaceFolder: "test/fixtures/multi-root-workspace",
});
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,10 @@
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": "none"
}
}
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ version as the one used in the project.
```

[GitHub CLI]: https://cli.github.com/
[PNPM]: https://pnpm.io/
[PNPM]: https://pnpm.io/
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,16 +176,19 @@
"scripts": {
"build": "rollup --config rollup.config.ts --configPlugin esbuild",
"dev": "rollup --watch --config rollup.config.ts --configPlugin esbuild",
"package": "bun run build && vsce package --out biome.vsix",
"package": "pnpm run build && vsce package --out biome.vsix",
"typecheck": "tsc --noEmit",
"check": "biome check --apply ."
"pretest": "pnpm run build",
"test": "vscode-test"
},
"vsce": {
"dependencies": false,
"skipLicense": true
},
"dependencies": {
"@biomejs/version-utils": "^0.3.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"ky": "^1.5.0",
"undici": "^5",
"vscode-languageclient": "^8",
Expand Down
Loading

0 comments on commit 39adacd

Please sign in to comment.