mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-02-04 15:01:46 +00:00
ci: setup env using actions/setup (#478)
* ci: setup env using actions/setup Signed-off-by: Andy Lee <andy.lee@suse.com> * ci: rerun lint if PR force push Signed-off-by: Andy Lee <andy.lee@suse.com> --------- Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
parent
db29a7c31b
commit
fc31b4bb9d
7
.github/workflows/release-label.yaml
vendored
7
.github/workflows/release-label.yaml
vendored
@ -19,11 +19,8 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.base_ref }}
|
ref: ${{ github.base_ref }}
|
||||||
- name: Setup Nodejs with yarn caching
|
- name: Setup Nodejs and yarn install
|
||||||
uses: actions/setup-node@v4
|
uses: ./.github/actions/setup
|
||||||
with:
|
|
||||||
node-version-file: '.nvmrc'
|
|
||||||
cache: yarn
|
|
||||||
- name: Set PR label
|
- name: Set PR label
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
2
.github/workflows/run-lint.yaml
vendored
2
.github/workflows/run-lint.yaml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
- main
|
- main
|
||||||
- 'release-*'
|
- 'release-*'
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, reopened, edited]
|
types: [opened, reopened, edited, synchronize]
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- 'release-*'
|
- 'release-*'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user