Skip to content

Commit

Permalink
Fixed review comments, added version reporting to all build steps in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed Jun 4, 2024
1 parent e1f8ac8 commit 69f1d52
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,19 @@ jobs:
- name: Lint
shell: bash
run: |
npm run report:versions
npm run lint
- name: Build
shell: bash
run: |
npm run report:versions
npm run build
- name: Test
shell: bash
run: |
npm run report:versions
npm run test:run
- name: Build production
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"vite:preview": "vite preview",
"dev": "vite",
"dev:debug": "vite --debug --force",
"report:versions": "echo Reporting versions: && echo tsc: && tsc --version && echo npm: && npm --version && echo node: && node --version",
"build": "npm run report:versions && npm run build --workspaces",
"report:versions": "echo Reporting versions: && echo tsc: && tsc --version && echo npm: && npm --version && echo node: && node --version && echo eslint: && eslint --version && echo vite: && vite --version && echo vitest: && vitest --version",
"build": "npm run build --workspaces",
"build:client": "npm run build --workspace packages/client",
"build:vscode-ws-jsonrpc": "npm run build --workspace packages/vscode-ws-jsonrpc",
"build:examples": "npm run build --workspace packages/examples",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class MonacoLanguageClient extends BaseLanguageClient {
protected readonly connectionProvider: IConnectionProvider;

constructor({ id, name, clientOptions, connectionProvider }: MonacoLanguageClientOptions) {
super((id ?? 'unknown-id') || name.toLowerCase(), name, clientOptions);
super(id ?? name.toLowerCase(), name, clientOptions);
this.connectionProvider = connectionProvider;
}

Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
"**/test/**/*.tsx",
"**/packages/*/*.ts",
"**/packages/*/*.js",
"**/resources/**/*.mts",
"**/resources/**/*.mjs",
"**/build/**/*.mts",
"*.js",
"*.ts",
],
Expand Down

0 comments on commit 69f1d52

Please sign in to comment.