Skip to content

Commit

Permalink
Merge pull request #11093 from rak-phillip/chore/rebase/release-2.8.p…
Browse files Browse the repository at this point in the history
…atch1

Rebase `release-2.8.patch1` on top of `release-2.8`
  • Loading branch information
rak-phillip authored May 22, 2024
2 parents 5b70c1b + bb5c656 commit e5b8c61
Show file tree
Hide file tree
Showing 183 changed files with 4,982 additions and 1,487 deletions.
267 changes: 0 additions & 267 deletions .drone.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/actions/i18n-lint/action.yaml
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
12 changes: 12 additions & 0 deletions .github/actions/lint/action.yaml
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
14 changes: 14 additions & 0 deletions .github/actions/setup/action.yaml
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
14 changes: 14 additions & 0 deletions .github/actions/unit-tests/action.yaml
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
21 changes: 21 additions & 0 deletions .github/workflows/build-and-upload-branch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build Dashboard (Branch)
on:
push:
branches:
- 'release-2.8*'
- '*-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}}
20 changes: 20 additions & 0 deletions .github/workflows/build-and-upload-release-2-8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build Dashboard 2.8 (Release)
on:
push:
tags:
- v2.8.*

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}}
Loading

0 comments on commit e5b8c61

Please sign in to comment.