mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
update workflow
This commit is contained in:
2 files changed
+5
-4
No files matched your search
@@ -13,14 +13,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out
|
- name: Check out
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
- name: Set up Node
|
- name: Set up Node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20
|
||||||
- name: Get yarn cache directory path
|
- name: Get yarn cache directory path
|
||||||
id: yarn-cache-dir-path
|
id: yarn-cache-dir-path
|
||||||
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
|
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
|
||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
LICENSE_KEY: ${{ secrets.MAXMIND_KEY }}
|
LICENSE_KEY: ${{ secrets.MAXMIND_KEY }}
|
||||||
- name: Get specific changed files
|
- name: Get specific changed files
|
||||||
id: ui-changed-files
|
id: ui-changed-files
|
||||||
uses: tj-actions/changed-files@v23.1
|
uses: tj-actions/changed-files@v41
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
/package.json
|
/package.json
|
||||||
|
|||||||
@@ -95,6 +95,7 @@ rules:
|
|||||||
guard-for-in: 0
|
guard-for-in: 0
|
||||||
implicit-arrow-linebreak: 0
|
implicit-arrow-linebreak: 0
|
||||||
import/extensions: 0
|
import/extensions: 0
|
||||||
|
import/order: 0
|
||||||
consistent-return: 1
|
consistent-return: 1
|
||||||
func-names: 0
|
func-names: 0
|
||||||
import/newline-after-import: 0
|
import/newline-after-import: 0
|
||||||
|
|||||||
Reference in new issue
Block a user