Configure CI (#3037)

* Update config.yml

* Configure CI

* Use Vesion 2.1

* Fix error

* Ensure binary builds

* Ensure misskey builds

* Store artifacts

* Ensure node-gyp builds

* Fix typo

* Fix typo

* Ensure binary builds

* Update working directory

* Cache test npm packages

* Revert "Update working directory"

* Ensure misskey builds

* Ensure node-gyp builds

* Fix missing configurations

* Configure deploy filters

* Use latest npm in Docker
This commit is contained in:
Acid Chicken (硫酸鶏) 2018-10-30 12:36:14 +09:00 committed by syuilo
parent d399241e65
commit 6f979c8275
5 changed files with 111 additions and 41 deletions

View file

@ -21,11 +21,12 @@ RUN apk add --no-cache \
pkgconfig \
libtool \
zlib-dev
RUN npm install \
&& npm install -g node-gyp \
&& node-gyp configure \
&& node-gyp build \
&& npm run build
RUN npm i -g npm@latest \
&& npm i \
&& npm i -g node-gyp \
&& node-gyp configure \
&& node-gyp build \
&& npm run build
FROM base AS runner