CI failed with incompatible module
dawranliou opened this issue · comments
Daw-Ran Liou commented
The last CI build failed with the error:
#!/bin/sh -eo pipefail
yarn install
yarn install v1.9.4
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
error autobind-decorator@2.4.0: The engine "node" is incompatible with this module. Expected version ">=8.10".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Exited with code 1
Daw-Ran Liou commented
Currently there's no test case setup yet.
I think we can still use CI to build the workshop
app, for example:
- Use
npm
to install the dependencies, instead ofyarn
. - Do
npm run release
in the CI pipeline.
What do you think @Lokeh ?
Will Acton commented
Yeah I started adding CI a few months ago and just never got around to finishing. Now it just spams my inbox everytime a commit gets made 😛
Building the workshop and deploying it to github pages or netlify or whatever could be cool.
Will Acton commented
I've setup tests to run on CI now.
I'm not sure how helpful deploying the devcards would be for people.
Closing this for now.
Daw-Ran Liou commented
Appreciate to look into this!