Tag: node

Prevent push when skipping Cypress tests

There is a more updated method I use now descried in the part 2. Here's way I use to prevent pushing changes when some of the Cypress tests are being skipped Install required packages npm i -D cypress husky start-server-and-test Define your dev script in package.json if not d…

Cross package Node app for ARM using QEMU and Docker

Download 2020-08-20-raspios-buster-armhf-lite.zip from the official site Install required tools sudo pacman -S unzip util-linux docker Start Docker service sudo systemctl start docker.service Add yourself into the docker group, otherwise permissions are needed sudo usermod …

How not to create a Node executable for ARM

There is one thing I would like to do properly for a quite some time: Create executable NodeJS application on an x64 machine for ARMv6 Now I have mastered the process to some extent, with the following steps: Write an app on a host x64 machine scp sources to the target ARMv6 mac…