Closed cclauss closed 7 months ago
Can you squash commits?
You can Squash and merge
…
I found npm build
will failed due to:
node-gyp build
I try node-gyp configure
then make
find the error comes from:
g++ -o Release/rime_cli -pthread -rdynamic -m64 -lrime -ljson-c -Wl,--start-group ./Release/obj.target/rime_cli/rime-cli.o -lnode -Wl,--end-group
The order should be
g++ -o Release/rime_cli -pthread -rdynamic -m64 -Wl,--start-group ./Release/obj.target/rime_cli/rime-cli.o -lnode -Wl,--end-group -lrime -ljson-c
warning coc-rime@0.1.3-alpha: The engine "coc" appears to be invalid.
Don't worry. https://github.com/neoclide/coc.nvim is a valid js engine.
CI/CD have been passed.
https://github.com/tonyfettes/coc-rime/blob/master/.github/workflows/main.yml#L40 need a secret named NODE_AUTH_TOKEN
.
@tonyfettes Can you add you npm token to github secret? It should be in your ~/.npmrc
like
//registry.npmjs.org/:_authToken=npm_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
where npm_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
is NODE_AUTH_TOKEN
.
Nice work @Freed-Wu 👍
Now, is it possible to create another (separate!) GitHub Action that fails raising gyp: Undefined variable android_ndk_path
https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
Test results: https://github.com/cclauss/coc-rime/actions
@Freed-Wu