diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8181c50..d87cd84 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,6 +16,16 @@ jobs: - run: npm ci - run: npx eslint . + examples: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: { node-version: 16 } + - run: npm ci + - run: npm run prepack + - run: npm run build --workspaces + pack: runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index 5e14e8d..d80c197 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ window.MonacoEnvironment = { new URL('monaco-editor/esm/vs/language/typescript/ts.worker', import.meta.url), ); case 'yaml': - return new Worker(new URL('monaco-yaml/lib/esm/yaml.worker', import.meta.url)); + return new Worker(new URL('monaco-yaml/yaml.worker', import.meta.url)); default: throw new Error(`Unknown label ${label}`); }