Use fetchdep everywhere
This commit is contained in:
parent
418de7998a
commit
8bdd965122
7 changed files with 135 additions and 117 deletions
5
.github/workflows/build.yaml
vendored
5
.github/workflows/build.yaml
vendored
|
@ -19,11 +19,8 @@ jobs:
|
|||
with:
|
||||
cache: 'yarn'
|
||||
|
||||
- name: Install SDKs
|
||||
run: "./scripts/fetch-develop.deps.sh --depth 1"
|
||||
|
||||
- name: Install Dependencies
|
||||
run: "yarn install"
|
||||
run: "./scripts/layered.sh"
|
||||
|
||||
- name: Build & Package
|
||||
run: "./scripts/ci_package.sh"
|
||||
|
|
20
.github/workflows/sentry-sourcemaps.yaml
vendored
20
.github/workflows/sentry-sourcemaps.yaml
vendored
|
@ -1,4 +1,7 @@
|
|||
name: Upload Sentry Sourcemaps
|
||||
# We cannot reuse the build from the main Builder workflow
|
||||
# due to needing to inject SENTRY_ env vars into ci_package.sh
|
||||
# For security we harbor the secrets in a develop-only environment.
|
||||
name: Sentry Sourcemaps
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
@ -6,18 +9,23 @@ on:
|
|||
repository_dispatch:
|
||||
types: [ element-web-notify ]
|
||||
jobs:
|
||||
upload-sentry-sourcemaps:
|
||||
upload:
|
||||
name: Upload
|
||||
runs-on: ubuntu-latest
|
||||
environment: develop
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '14'
|
||||
cache: 'yarn'
|
||||
- run: ./scripts/fetch-develop.deps.sh --depth 1
|
||||
- run: yarn install
|
||||
- run: ./scripts/ci_package.sh
|
||||
|
||||
- name: Install Dependencies
|
||||
run: "./scripts/layered.sh"
|
||||
|
||||
- name: Build & Package
|
||||
run: "./scripts/ci_package.sh"
|
||||
env:
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||
|
|
5
.github/workflows/static_analysis.yaml
vendored
5
.github/workflows/static_analysis.yaml
vendored
|
@ -19,11 +19,8 @@ jobs:
|
|||
with:
|
||||
cache: 'yarn'
|
||||
|
||||
- name: Install SDKs
|
||||
run: "./scripts/fetch-develop.deps.sh --depth 1"
|
||||
|
||||
- name: Install Dependencies
|
||||
run: "yarn install"
|
||||
run: "./scripts/layered.sh"
|
||||
|
||||
- name: Typecheck
|
||||
run: "yarn run lint:types"
|
||||
|
|
5
.github/workflows/test.yaml
vendored
5
.github/workflows/test.yaml
vendored
|
@ -19,11 +19,8 @@ jobs:
|
|||
with:
|
||||
cache: 'yarn'
|
||||
|
||||
- name: Install SDKs
|
||||
run: "./scripts/fetch-develop.deps.sh --depth 1"
|
||||
|
||||
- name: Install Dependencies
|
||||
run: "yarn install"
|
||||
run: "./scripts/layered.sh"
|
||||
|
||||
- name: Run Tests
|
||||
run: "yarn test"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue