mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-30 06:21:09 +08:00
27 lines
673 B
YAML
27 lines
673 B
YAML
name: Build
|
|
on:
|
|
pull_request: {}
|
|
push:
|
|
branches: [master]
|
|
# develop pushes and repository_dispatch handled in build_develop.yaml
|
|
env:
|
|
# These must be set for fetchdep.sh to get the right branch
|
|
REPOSITORY: ${{ github.repository }}
|
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
|
jobs:
|
|
build:
|
|
name: "Build"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
cache: "yarn"
|
|
|
|
- name: Install Dependencies
|
|
run: "./scripts/layered.sh"
|
|
|
|
- name: Build
|
|
run: "yarn build"
|