Skip to content

Commit c4ae02d

Browse files
authored
Merge pull request #145 from remcohaszing/ci-test-example-builds
Build examples in CI
2 parents d35b72e + 18cfa0a commit c4ae02d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ jobs:
1616
- run: npm ci
1717
- run: npx eslint .
1818

19+
examples:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: actions/setup-node@v2
24+
with: { node-version: 16 }
25+
- run: npm ci
26+
- run: npm run prepack
27+
- run: npm run build --workspaces
28+
1929
pack:
2030
runs-on: ubuntu-latest
2131
steps:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ window.MonacoEnvironment = {
116116
new URL('monaco-editor/esm/vs/language/typescript/ts.worker', import.meta.url),
117117
);
118118
case 'yaml':
119-
return new Worker(new URL('monaco-yaml/lib/esm/yaml.worker', import.meta.url));
119+
return new Worker(new URL('monaco-yaml/yaml.worker', import.meta.url));
120120
default:
121121
throw new Error(`Unknown label ${label}`);
122122
}

0 commit comments

Comments
 (0)