You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
705 B

---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: node:16.18-bullseye
commands:
- apt-get update
- apt-get install -y cmake jq zip
- ./scripts/build-wasm.sh
- npm ci
- npm run test
- ./scripts/build-and-package.sh modern
- ./scripts/build-and-package.sh legacy
- ./scripts/build-and-package.sh extension
- sha256sum *.zip > sha256sum.txt
- name: upload
image: plugins/s3
settings:
bucket: um-web
access_key:
from_secret: S3_ACCESS_KEY
secret_key:
from_secret: S3_SECRET_KEY
source: |
*.zip
sha256sum.txt
target: /${DRONE_COMMIT_BRANCH}-latest