File tree Expand file tree Collapse file tree 9 files changed +112
-150
lines changed Expand file tree Collapse file tree 9 files changed +112
-150
lines changed Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ custom:
1212 - https://opencollective.com/rxts
1313 - https://opencollective.com/unts
1414 - https://patreon.com/1stG
15- - https://afdian.net/@ JounQin
15+ - https://afdian.com/a/ JounQin
Original file line number Diff line number Diff line change 1+ name : autofix.ci # For security reasons, the workflow in which the autofix.ci action is used must be named "autofix.ci".
2+
3+ on :
4+ pull_request :
5+ types :
6+ - opened
7+ - reopened
8+ - synchronize
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
13+
14+ permissions :
15+ contents : write
16+
17+ jobs :
18+ autofix :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Checkout Repo
22+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
23+
24+ - name : Setup Node.js LTS
25+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
26+ with :
27+ node-version : lts/*
28+ cache : yarn
29+
30+ - name : Install dependencies
31+ run : yarn --immutable
32+
33+ - name : Format Codes
34+ run : yarn format
35+
36+ - name : Apply autofix.ci
37+ uses : autofix-ci/action@2891949f3779a1cafafae1523058501de3d4e944 # v1
38+ with :
39+ fail-fast : false
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Check
33on :
44 push :
55 branches :
6- - " main"
6+ - main
77 pull_request :
88
99concurrency :
@@ -18,11 +18,13 @@ jobs:
1818 runs-on : ubuntu-latest
1919
2020 steps :
21- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
21+ - name : Checkout Repo
22+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2223 with :
2324 persist-credentials : false
2425
25- - uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
26+ - name : Setup Node.js LTS
27+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2628 with :
2729 node-version : lts/*
2830 cache : yarn
Original file line number Diff line number Diff line change 1+ name : Publish Any Commit
2+ on :
3+ - push
4+ - pull_request
5+
6+ concurrency :
7+ group : ${{ github.workflow }}-${{ github.ref }}
8+ cancel-in-progress : true
9+
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ publish :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout Repo
19+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
20+
21+ - name : Setup Node.js LTS
22+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
23+ with :
24+ node-version : lts/*
25+ cache : yarn
26+
27+ - name : Install dependencies
28+ run : yarn --immutable
29+
30+ - name : Publish
31+ run : yarn dlx pkg-pr-new publish --compact
Original file line number Diff line number Diff line change 55 branches :
66 - main
77
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.ref }}
10+ cancel-in-progress : true
11+
12+ permissions :
13+ contents : write
14+ id-token : write
15+ pull-requests : write
16+
817jobs :
918 release :
1019 name : Release
1726 fetch-depth : 0
1827
1928 - name : Setup Node.js LTS
20- uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
29+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2130 with :
2231 node-version : lts/*
2332 cache : yarn
3443 publish : yarn release
3544 env :
3645 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46+ NPM_CONFIG_PROVENANCE : true
3747 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Test
33on :
44 push :
55 branches :
6- - " main"
6+ - main
77 pull_request :
88
99concurrency :
@@ -30,17 +30,20 @@ jobs:
3030 - 18
3131 - 20
3232 - 22
33+ - 24
3334 fail-fast : false
3435
3536 env :
3637 YARN_IGNORE_NODE : 1
3738
3839 steps :
39- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
40+ - name : Checkout Repo
41+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4042 with :
4143 persist-credentials : false
4244
43- - uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
45+ - name : Setup Node.js ${{ matrix.node }}
46+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
4447 with :
4548 node-version : ${{ matrix.node }}
4649 cache : yarn
Original file line number Diff line number Diff line change 33 "extends": [
44 "github>1stG/configs"
55 ],
6- "ignoreDeps": ["eslint-find-rules"]
6+ "ignoreDeps": [
7+ "eslint-find-rules",
8+ "eslint-plugin-standard",
9+ "yarn"
10+ ]
711}
Original file line number Diff line number Diff line change 9292 "eslint-plugin-prettier" : " ^5.2.5" ,
9393 "eslint-plugin-react" : " ^7.37.4" ,
9494 "eslint-plugin-standard" : " ^5.0.0" ,
95- "eslint-plugin-unicorn" : " ^58 .0.0" ,
95+ "eslint-plugin-unicorn" : " ^59 .0.0" ,
9696 "eslint-plugin-vue" : " ^10.0.0" ,
9797 "globals" : " ^16.0.0" ,
9898 "jest" : " ^29.7.0" ,
9999 "prettier" : " ^3.5.3" ,
100- "prettier-plugin-pkg" : " ^0.18.1 " ,
100+ "prettier-plugin-pkg" : " ^0.19.0 " ,
101101 "typescript" : " ^5.8.2" ,
102102 "vue-eslint-parser" : " ^10.1.1" ,
103103 "yarn-berry-deduplicate" : " ^6.1.1"
You can’t perform that action at this time.
0 commit comments