Mise à jour du processus de construction des paquets via Drone
This commit is contained in:
parent
56732e585d
commit
97247483f9
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
pipeline:
|
pipeline:
|
||||||
test:
|
test:
|
||||||
image: alpine:3.6
|
image: node:6-alpine
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache nodejs nodejs-npm firefox-esr
|
- apk add --no-cache firefox-esr
|
||||||
- npm install
|
- npm install
|
||||||
- npm test
|
- npm test
|
||||||
package-64:
|
package-64:
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -o pipefail
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Install NodeJS into the container
|
||||||
|
apt-get update
|
||||||
|
apt-get install --yes --no-install-recommends curl ca-certificates
|
||||||
|
curl --silent --location https://deb.nodesource.com/setup_6.x | bash -
|
||||||
|
apt-get install --yes nodejs
|
8
Makefile
8
Makefile
|
@ -8,11 +8,11 @@ endif
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf node_modules
|
||||||
|
rm -rf dist
|
||||||
|
|
||||||
build:
|
build:
|
||||||
apt-get update
|
|
||||||
apt-get install --yes --no-install-recommends curl ca-certificates
|
|
||||||
curl --silent --location https://deb.nodesource.com/setup_6.x | bash -
|
|
||||||
apt-get install --yes nodejs
|
|
||||||
npm install --ignore-scripts
|
npm install --ignore-scripts
|
||||||
ARCH=$(ELECTRON_ARCH) npm run build
|
ARCH=$(ELECTRON_ARCH) npm run build
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue