Skip to content

Commit

Permalink
update GHA for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tkitsunai committed Mar 21, 2024
1 parent 89d00e5 commit ffead1f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,15 @@ jobs:
gauge install typescript -f ./artifacts/gauge-typescript-*.zip
shell: bash

# - name: Initialize a sample project
# run: |
# mkdir sample
# cd sample
# gauge init typescript
# npm install ../artifacts/gauge-typescript-*.tgz
# shell: bash
- name: Initialize a sample project
run: |
mkdir sample
cd sample
gauge init https://github.com/tkitsunai/gauge-template-typescript/archive/refs/tags/v0.1.1.zip
npm install ../artifacts/gauge-typescript-*.tgz
shell: bash

# - name: Run sample project
# run: |
# cd sample
# gauge run specs
- name: Run sample project
run: |
cd sample
gauge run specs
2 changes: 1 addition & 1 deletion src/GaugeRuntime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export class GaugeRuntime {

public start(): void {
const loader = new StaticLoader();

loader.loadImplementations();
const server = new Server();

Expand All @@ -16,6 +15,7 @@ export class GaugeRuntime {
server.addService(RunnerService, new RunnerServiceImpl(server, loader));
server.bindAsync("127.0.0.1:0", ServerCredentials.createInsecure(), (err: Error | null, port: number) => {
if (err) {
console.log(err)
throw err;
}
console.log(`Listening on port:${port}`);
Expand Down
2 changes: 1 addition & 1 deletion typescript.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"description": "TypeScript support for gauge",
"gaugeVersionSupport": {
"maximum": "",
"minimum": "1.4.3"
"minimum": "1.5.6"
},
"id": "typescript",
"init": {
Expand Down

0 comments on commit ffead1f

Please sign in to comment.