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:
Andy Lee 2025-08-25 18:04:32 +08:00 committed by GitHub
parent db29a7c31b
commit fc31b4bb9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 6 deletions

View File

@ -19,11 +19,8 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}
- name: Setup Nodejs with yarn caching
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: yarn
- name: Setup Nodejs and yarn install
uses: ./.github/actions/setup
- name: Set PR label
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -7,7 +7,7 @@ on:
- main
- 'release-*'
pull_request:
types: [opened, reopened, edited]
types: [opened, reopened, edited, synchronize]
branches:
- main
- 'release-*'