-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10874 from richard-cox/richard-drone-dashboard-pr
Port drone build tasks to gh workflows + actions
- Loading branch information
Showing
16 changed files
with
289 additions
and
352 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Run i18n Lint | ||
description: Run i18n Lint | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Setup env | ||
uses: ./.github/actions/setup | ||
|
||
- name: Run i18n linters | ||
shell: bash | ||
run: yarn lint-l10n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Run Lint | ||
description: Run Lint | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Setup env | ||
uses: ./.github/actions/setup | ||
|
||
- name: Run linters | ||
shell: bash | ||
run: yarn lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Setup UI Env | ||
description: Setup node, python and call bootstrap script | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '14.x' | ||
cache: 'yarn' | ||
|
||
- name: Install packages | ||
shell: bash | ||
run: yarn install:ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Run Unit Tests | ||
description: Run Unit Tests | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Setup env | ||
uses: ./.github/actions/setup | ||
|
||
- name: Run tests | ||
shell: bash | ||
run: | | ||
yarn test:ci | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Build Dashboard (Branch) | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- 'release-*' | ||
- '*-dev' | ||
|
||
jobs: | ||
build-validation: | ||
name: Build Test | ||
uses: ./.github/workflows/build-test.yaml | ||
build: | ||
name: Build and Upload | ||
uses: ./.github/workflows/build-and-upload.yaml | ||
needs: | ||
- build-validation | ||
permissions: | ||
contents: 'read' | ||
id-token: 'write' | ||
with: | ||
CI_BRANCH: ${{github.ref_name}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Build Dashboard (Release) | ||
on: | ||
push: | ||
tags: | ||
- v[2-9].* | ||
|
||
jobs: | ||
build-validation: | ||
name: Validate Code | ||
uses: ./.github/workflows/build-test.yaml | ||
build: | ||
name: Build and Upload | ||
uses: ./.github/workflows/build-and-upload.yaml | ||
needs: | ||
- build-validation | ||
permissions: | ||
contents: 'read' | ||
id-token: 'write' | ||
with: | ||
CI_BUILD_TAG: ${{github.ref_name}} |
Oops, something went wrong.