Skip to content

Commit

Permalink
Merge pull request #11056 from rancher/richard-cox-2.7.patch1-drone
Browse files Browse the repository at this point in the history
[2.7.patch1] Port drone build tasks to gh workflows + actions
  • Loading branch information
richard-cox authored May 30, 2024
2 parents e79f950 + ea7e2e1 commit d57b4ff
Show file tree
Hide file tree
Showing 24 changed files with 347 additions and 458 deletions.
342 changes: 0 additions & 342 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
Loading

0 comments on commit d57b4ff

Please sign in to comment.