liste-de-courses-www/.drone.yml

16 lines
409 B
YAML
Raw Normal View History

2022-07-19 15:09:45 +00:00
kind: pipeline
type: docker
steps:
- name: build
2022-07-19 15:28:45 +00:00
image: node:16.16.0-alpine3.16
2022-07-19 15:09:45 +00:00
commands:
2022-07-19 15:38:48 +00:00
- apk add --update --no-cache --virtual .gyp g++ make py3-pip python3
2022-07-19 15:36:24 +00:00
- which python3
2022-07-19 15:41:27 +00:00
- npm install -g node-gyp@latest
- npm config set python "/usr/bin/python3"
2022-07-19 15:28:45 +00:00
- rm -rf /var/cache/apk/*
2022-07-19 15:09:45 +00:00
- npm install
2022-07-19 15:38:48 +00:00
- apk del .gyp
2022-07-19 15:09:45 +00:00
- vue-cli-service build --mode production