mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
1eb67047c9
* Add some doc to the githuib actions / CI scripts Type: task * alalytics-events is more name matching
23 lines
864 B
YAML
23 lines
864 B
YAML
# Produce a 'layered build' (a build of element-web with this version of
|
|
# react-sdk) and output it as an artifact
|
|
name: Layered Preview Build
|
|
on:
|
|
pull_request:
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
# This must be set for fetchdep.sh to get the right branch
|
|
PR_NUMBER: ${{github.event.number}}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Build
|
|
run: scripts/ci/layered.sh && cd element-web && cp element.io/develop/config.json config.json && CI_PACKAGE=true yarn build
|
|
- name: Upload Artifact
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: previewbuild
|
|
path: element-web/webapp
|
|
# We'll only use this in a triggered job, then we're done with it
|
|
retention-days: 1
|
|
|