EclipseFdn / EclipseFdn/publish-extensions

Why is the publish extensions github action failing?

Open
#273 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
341
Forks
428
Avg merge
40m
Merged PRs (30d)
2

Description

It seems like it has been failing for a while now, as it can be verified [here](https://github.com/open-vsx/publish-extensions/actions?page=1&query=workflow%3A%22Publish+extensions+to+open-vsx.org%22) 😄

There are a number of errors and they seem to be related to the following extensions:

*
```
> tsc -p ./

Error: src/preview/client.ts(101,30): error TS2339: Property 'swagger' does not exist on type 'string | object'.
Property 'swagger' does not exist on type 'string'.
Error: src/preview/client.ts(104,28): error TS2339: Property 'openapi' does not exist on type 'string | object'.
Property 'openapi' does not exist on type 'string'.
Error: src/preview/client.ts(105,28): error TS2339: Property 'openapi' does not exist on type 'string | object'.
Property 'openapi' does not exist on type 'string'.
```

*
```
> tsc -p ./

Error: src/extension.ts(139,10): error TS2322: Type 'readonly WorkspaceFolder[] | undefined' is not assignable to type 'WorkspaceFolder[] | undefined'.
```

*
```
$ tsc -p ./
Error: node_modules/@types/node/index.d.ts(20,1): error TS1084: Invalid 'reference' directive syntax.
```

Is there anything I can do to help address this? I would probably start with checking the "faulty" extensions and seeing if I can reproduce the errors above.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.