I\'ve set up a Gitlab CI pipeline which is compiling a native nodejs addon in the first stage and running some tests with it in the second one. The job is running on the same Do
Maybe compilation is not done because and existing module. Try using rebuild and then clean for the old modules.
node-gyp configure --target=$(node --version) node-gyp rebuild node-gyp clean
hope this help