Skip to content

Commit b955eae

Browse files
committed
CI: update
1 parent acbfbfa commit b955eae

File tree

4 files changed

+432
-408
lines changed

4 files changed

+432
-408
lines changed

.github/workflows/shipjs-manual-prepare.yml

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,30 @@ jobs:
3434
needs: manual_prepare
3535
runs-on: ubuntu-latest
3636
steps:
37-
- uses: actions/github@master
38-
env:
39-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
- uses: actions/github-script@v4
4038
with:
41-
args: comment "@${{ github.actor }} `shipjs prepare` done"
39+
github-token: ${{secrets.GITHUB_TOKEN}}
40+
script: |
41+
github.issues.createComment({
42+
issue_number: context.issue.number,
43+
owner: context.repo.owner,
44+
repo: context.repo.repo,
45+
body: "@\${{github.actor}} \`shipjs prepare\` done"
46+
})
47+
4248
4349
create_fail_comment:
4450
if: cancelled() || failure()
4551
needs: manual_prepare
4652
runs-on: ubuntu-latest
4753
steps:
48-
- uses: actions/github@master
49-
env:
50-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
- uses: actions/github-script@v4
5155
with:
52-
args: comment "@${{ github.actor }} `shipjs prepare` fail"
56+
github-token: ${{secrets.GITHUB_TOKEN}}
57+
script: |
58+
github.issues.createComment({
59+
issue_number: context.issue.number,
60+
owner: context.repo.owner,
61+
repo: context.repo.repo,
62+
body: "@\${{github.actor}} \`shipjs prepare\` fail"
63+
})

example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"website": "textlint-website-generator --output-dir ./dist"
1010
},
1111
"devDependencies": {
12-
"@textlint/website-generator": "^0.10.5",
12+
"@textlint/website-generator": "^0.10.3",
1313
"textlint": "^11.9.0",
1414
"textlint-filter-rule-comments": "^1.2.2",
1515
"textlint-rule-preset-ja-technical-writing": "file:../"
1616
}
17-
}
17+
}

example/yarn.lock

Lines changed: 36 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,10 @@
278278
dependencies:
279279
"@textlint/ast-node-types" "^4.4.2"
280280

281-
"@textlint/config-loader@^0.10.4":
282-
version "0.10.4"
283-
resolved "https://registry.yarnpkg.com/@textlint/config-loader/-/config-loader-0.10.4.tgz#8ba66bc179501502dbbf77e64822d74fd9d9c5be"
284-
integrity sha512-4zfstmDvW3sYNQaGYR7+wQE4q+Vq0hI8UZctvJbioXwQALSMTsZUZG5kmgSp5ADzX9MmAlqXZD9H0QDHYik8oQ==
281+
"@textlint/config-loader@^0.10.2":
282+
version "0.10.2"
283+
resolved "https://registry.yarnpkg.com/@textlint/config-loader/-/config-loader-0.10.2.tgz#5508cc71d7dddd55b89d1780ea4b477ee660c036"
284+
integrity sha512-OiS48SQ932TKlFBz/xxAxh6LvRnpIfsg+PtYNOqUZ+GYHlujcyKXz25O6fzDtTA1hNu3IpQeuBokWlBsi6N1Uw==
285285
dependencies:
286286
"@textlint/kernel" "^3.4.1"
287287
"@textlint/module-interop" "^1.2.1"
@@ -291,12 +291,12 @@
291291
rc-config-loader "^4.0.0"
292292
try-resolve "^1.0.1"
293293

294-
"@textlint/config-partial-parser@^0.10.4":
295-
version "0.10.4"
296-
resolved "https://registry.yarnpkg.com/@textlint/config-partial-parser/-/config-partial-parser-0.10.4.tgz#30989f6066a51afad6f1a854fc33b36ab37468e2"
297-
integrity sha512-yuyu+d5tmrovB9cknHzsupvKmAa0t1Oa1Bm3GO9uneSzMXqLg+63XcHCFoMDUHdLsV2LMALzNZH01xz/YBtfvg==
294+
"@textlint/config-partial-parser@^0.10.2":
295+
version "0.10.2"
296+
resolved "https://registry.yarnpkg.com/@textlint/config-partial-parser/-/config-partial-parser-0.10.2.tgz#9ce401db8cefb16460b81c86119eac83928743ba"
297+
integrity sha512-q4bOR2vp9wA7fTnpBnELrsz2hF05ES7PoJ/8dTqCpnoVS7wwJCQ0s9nS9KN7Vkh4rCKAZ0Hce/IdWwSfOti/bQ==
298298
dependencies:
299-
"@textlint/config-loader" "^0.10.4"
299+
"@textlint/config-loader" "^0.10.2"
300300
"@textlint/kernel" "^3.4.1"
301301
"@textlint/types" "^1.5.1"
302302
"@textlint/utils" "^1.2.4"
@@ -394,29 +394,29 @@
394394
lodash.uniqwith "^4.5.0"
395395
to-regex "^3.0.2"
396396

397-
"@textlint/runtime-helper@^0.10.4":
398-
version "0.10.4"
399-
resolved "https://registry.yarnpkg.com/@textlint/runtime-helper/-/runtime-helper-0.10.4.tgz#0947f7fa1c8ceca99c1adc17460125f1a5020255"
400-
integrity sha512-xAw8+EGz96vWGt6zpp9TuzHwuLJY4NQTiPsWfBhkKoj+WUTSF9iOwM1OMJEpaDbaAn2TNnsBN8vzRaYBQhYnsA==
397+
"@textlint/runtime-helper@^0.10.2":
398+
version "0.10.2"
399+
resolved "https://registry.yarnpkg.com/@textlint/runtime-helper/-/runtime-helper-0.10.2.tgz#3187039ae71ba6baa194c02be2413b1d1b4735ed"
400+
integrity sha512-DeQIa4iXDIPkFQtHVlH+PrzHk0AuURurVtTvW2gqkBTg+sLGQsJ/w3faNqKbBjbitb9oqj24VZvSOQmTuF2kPg==
401401
dependencies:
402402
"@kvs/env" "^1.1.0"
403-
"@textlint/config-loader" "^0.10.4"
403+
"@textlint/config-loader" "^0.10.2"
404404
"@textlint/kernel" "^3.4.1"
405405
"@textlint/module-interop" "^1.2.1"
406406
"@textlint/types" "^1.5.1"
407407
"@textlint/utils" "^1.2.1"
408408

409-
"@textlint/script-compiler@^0.10.4":
410-
version "0.10.4"
411-
resolved "https://registry.yarnpkg.com/@textlint/script-compiler/-/script-compiler-0.10.4.tgz#e69dbc5912bdb9d9002017cb89f3666a3cda6485"
412-
integrity sha512-EMR0La6+GOzIBTgzjEVzEG68tJjx7IxNk2xxsHpS++ZXxu9ZM//yj62at0KQ//RstADp1e4CjQ8WdeTMrGELnw==
409+
"@textlint/script-compiler@^0.10.3":
410+
version "0.10.3"
411+
resolved "https://registry.yarnpkg.com/@textlint/script-compiler/-/script-compiler-0.10.3.tgz#d9b4448a5a17853702757170f79ce0229fe53d0a"
412+
integrity sha512-Qr0ju560V0l9Vt1Lldl3FEyoR7n0QkgUMV0wh7PVyjemdykufYk0A/7tbHN7J/UXv8HYpRzby7Veng4P8k+h/g==
413413
dependencies:
414414
"@babel/core" "^7.12.10"
415-
"@textlint/config-loader" "^0.10.4"
416-
"@textlint/config-partial-parser" "^0.10.4"
415+
"@textlint/config-loader" "^0.10.2"
416+
"@textlint/config-partial-parser" "^0.10.2"
417417
"@textlint/kernel" "^3.4.1"
418-
"@textlint/runtime-helper" "^0.10.4"
419-
"@textlint/script-parser" "^0.10.4"
418+
"@textlint/runtime-helper" "^0.10.2"
419+
"@textlint/script-parser" "^0.10.2"
420420
"@textlint/types" "^1.5.1"
421421
babel-loader "^8.2.2"
422422
babel-plugin-static-fs "^3.0.0"
@@ -427,10 +427,10 @@
427427
terser-webpack-plugin "^5.1.1"
428428
webpack "^5.33.2"
429429

430-
"@textlint/script-parser@^0.10.4":
431-
version "0.10.4"
432-
resolved "https://registry.yarnpkg.com/@textlint/script-parser/-/script-parser-0.10.4.tgz#16a6627e5728624f9751505778e00581a6be293c"
433-
integrity sha512-6KhtfyltVl0aUbDVvq4Vp7rgtmXLET6+qIkSJraJgNCIIbBTbChla7TRf1/0+pVTyRLij81ZS4Vk4giOBKR/MQ==
430+
"@textlint/script-parser@^0.10.2":
431+
version "0.10.2"
432+
resolved "https://registry.yarnpkg.com/@textlint/script-parser/-/script-parser-0.10.2.tgz#a77f4b8ec12e0b02b8e784297984abe4ac76ffde"
433+
integrity sha512-MkXtjWfHQATaeAYP6eIOnDB868AD2UE0X9yWiTAX6WdsjCyUaPdrCINisbv8QXW53pmUWjQsI2X7kEMOg1X3Mw==
434434

435435
"@textlint/source-code-fixer@^3.4.1", "@textlint/source-code-fixer@^3.4.4":
436436
version "3.4.4"
@@ -473,15 +473,15 @@
473473
resolved "https://registry.yarnpkg.com/@textlint/utils/-/utils-1.2.4.tgz#208a052e55d0d717f6c55097866bf84f444c5b66"
474474
integrity sha512-FREWc8n6bJFsKehtUlHPtbqnXULWhdnlazqWiHMjiBtcxUfD+1kY3P7PNGbChdzeZGmwBkgFQyGkok8bAGnZOw==
475475

476-
"@textlint/website-generator@^0.10.5":
477-
version "0.10.5"
478-
resolved "https://registry.yarnpkg.com/@textlint/website-generator/-/website-generator-0.10.5.tgz#2c100f1c4eec46a475cde948936f5bd85319d77b"
479-
integrity sha512-SxA0WaT+AZtmZUi4dE8zvSuQMQvc8k0cVAzWb1dksVFIWX61s+AEdC/0ce8rSLlT4t/Q0GjVRcKtl9XwG8i+HQ==
476+
"@textlint/website-generator@^0.10.3":
477+
version "0.10.3"
478+
resolved "https://registry.yarnpkg.com/@textlint/website-generator/-/website-generator-0.10.3.tgz#a303c6a8c4f21eb679f9b1195cc4f946c95c7d44"
479+
integrity sha512-sehxXDUJtCFj6satsExt0hE6wOgZSkYPMGTG3rtY0UXUcCQrQjIFaqyvhRMvatf8nsVN8h32ucSjN52kEjDu5A==
480480
dependencies:
481-
"@textlint/script-compiler" "^0.10.4"
481+
"@textlint/script-compiler" "^0.10.3"
482482
meow "^9.0.0"
483483
read-pkg "^5.2.0"
484-
textchecker-element "^0.10.5"
484+
textchecker-element "^0.10.3"
485485

486486
"@types/eslint-scope@^3.7.0":
487487
version "3.7.0"
@@ -3450,10 +3450,10 @@ text-table@^0.2.0:
34503450
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
34513451
integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=
34523452

3453-
textchecker-element@^0.10.5:
3454-
version "0.10.5"
3455-
resolved "https://registry.yarnpkg.com/textchecker-element/-/textchecker-element-0.10.5.tgz#58690a0bcddd8d8aaea6fe011a1f7ab0ea419833"
3456-
integrity sha512-lS8kkuRg0wkVOvE9dOLBU+M7NPTeEmeSopIXDthqw6+/UJARvbo8hs5W590SIvbs8joV/WLKEKCni3fJPzzWTQ==
3453+
textchecker-element@^0.10.3:
3454+
version "0.10.2"
3455+
resolved "https://registry.yarnpkg.com/textchecker-element/-/textchecker-element-0.10.2.tgz#44c16774707286b6ad21a4f1019d5e1d620242fe"
3456+
integrity sha512-t7T6bvUqJHXXdaVY2MWs6Lz02XNe0XlMynqdBsOp2FxGlZsNqzQlp31A3UGMZk2GOjmGKPRTVmxUyUnzOSGrCQ==
34573457
dependencies:
34583458
"@textlint/source-code-fixer" "^3.4.1"
34593459
delay "^4.4.0"
@@ -3559,9 +3559,6 @@ textlint-rule-max-kanji-continuous-len@^1.1.1:
35593559
version "1.1.1"
35603560
resolved "https://registry.yarnpkg.com/textlint-rule-max-kanji-continuous-len/-/textlint-rule-max-kanji-continuous-len-1.1.1.tgz#cbcc44488c06d36c65099e12f7977e3a15c3b77f"
35613561
integrity sha1-y8xESIwG02xlCZ4S95d+OhXDt38=
3562-
dependencies:
3563-
match-index "^1.0.1"
3564-
textlint-rule-helper "^2.0.0"
35653562

35663563
textlint-rule-max-ten@^2.0.4:
35673564
version "2.0.4"

0 commit comments

Comments
 (0)