Open d3p1 opened 1 year ago
The ECMAScript syntax is causing issues, but it is necessary to use it because semantic-release
is an ECMAScript module.
For the moment, just to release the action and use it in needed projects, the following hot fixes are going to be done:
It is going to be disabled the ncc
feature, so it will be necessary to commit the node_modules/
folder with the action dependencies.
It is going to be disabled the jest
testing step.
Then, these issues will be solved with the correct approach.
Preconditions & Environment
node
:v20.5.0
tsc
:5.2.2
ncc
:0.36
jest
:29.6.4
Steps to reproduce
npm run all
Expected result
The source code is compiled correctly and the build is generated on
dist/
folderActual result
When it is executed
npm run all
there is an error related tojest
andncc
.The
jest
error is the following:The error related to
ncc
is: