Skip to content

Commit 18ed360

Browse files
committed
chore: use yarn berry
1 parent d366e69 commit 18ed360

File tree

5 files changed

+117
-152
lines changed

5 files changed

+117
-152
lines changed
+39-39
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: FFXIVOpcodes (TC)
22
on:
33
push:
4-
tags:
4+
tags:
55
- tc/*
66
workflow_dispatch:
77
inputs:
88
version:
9-
description: '游戏版本号(x.xx)'
9+
description: "游戏版本号(x.xx)"
1010
required: true
11-
default: '6.01a'
11+
default: "6.01a"
1212

1313
env:
1414
version: ${{ github.event.inputs.version || '6.1' }}
@@ -20,39 +20,39 @@ jobs:
2020
runs-on: ubuntu-latest
2121

2222
steps:
23-
- uses: actions/checkout@v3
24-
with:
25-
path: repo
26-
27-
- name: Clone FFXIVOpcodes
28-
run: git clone https://github.com/${target_repo}.git machina-wrapper-json
29-
30-
- name: Check node version
31-
run: node -v
32-
33-
- name: NPM install
34-
run: |
35-
cd repo
36-
npm i
37-
38-
- name: Run data generator
39-
run: node repo/worker/machina-wrapper-json/index.mjs machina-wrapper-json ${{ env.version }}
40-
41-
- name: Setting origin
42-
run: |
43-
cd machina-wrapper-json
44-
git remote set-url origin https://github.com/${target_repo}
45-
46-
- name: Create Pull Request
47-
uses: peter-evans/create-pull-request@v5
48-
with:
49-
token: ${{ secrets.WORKER_ACCESS_KEY }}
50-
path: machina-wrapper-json
51-
commit-message: "feat(ipc): update for cn patch-${{ env.version }}"
52-
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
53-
push-to-fork: ${{ env.target_fork }}
54-
branch: ci/zh/opcode-patch-${{ env.version }}
55-
base: master
56-
title: "feat(ipc): update for cn patch-${{ env.version }}"
57-
body: |
58-
This PR is generated by [ffxiv-opcode-worker](https://github.com/zhyupe/ffxiv-opcode-worker)
23+
- uses: actions/checkout@v3
24+
with:
25+
path: repo
26+
27+
- name: Clone FFXIVOpcodes
28+
run: git clone https://github.com/${target_repo}.git machina-wrapper-json
29+
30+
- name: Check node version
31+
run: node -v
32+
33+
- name: NPM install
34+
run: |
35+
cd repo
36+
yarn
37+
38+
- name: Run data generator
39+
run: yarn node repo/worker/machina-wrapper-json/index.mjs machina-wrapper-json ${{ env.version }}
40+
41+
- name: Setting origin
42+
run: |
43+
cd machina-wrapper-json
44+
git remote set-url origin https://github.com/${target_repo}
45+
46+
- name: Create Pull Request
47+
uses: peter-evans/create-pull-request@v5
48+
with:
49+
token: ${{ secrets.WORKER_ACCESS_KEY }}
50+
path: machina-wrapper-json
51+
commit-message: "feat(ipc): update for cn patch-${{ env.version }}"
52+
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
53+
push-to-fork: ${{ env.target_fork }}
54+
branch: ci/zh/opcode-patch-${{ env.version }}
55+
base: master
56+
title: "feat(ipc): update for cn patch-${{ env.version }}"
57+
body: |
58+
This PR is generated by [ffxiv-opcode-worker](https://github.com/zhyupe/ffxiv-opcode-worker)

.gitignore

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
node_modules
2-
local
1+
local
2+
.pnp.*
3+
.yarn/*
4+
!.yarn/patches
5+
!.yarn/plugins
6+
!.yarn/releases
7+
!.yarn/sdks
8+
!.yarn/versions

package-lock.json

-110
This file was deleted.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@
2222
"bugs": {
2323
"url": "https://github.com/zhyupe/ffxiv-opcode-worker/issues"
2424
},
25-
"homepage": "https://github.com/zhyupe/ffxiv-opcode-worker#readme"
25+
"homepage": "https://github.com/zhyupe/ffxiv-opcode-worker#readme",
26+
"packageManager": "[email protected]"
2627
}

yarn.lock

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# This file is generated by running "yarn install" inside your project.
2+
# Manual changes might be lost - proceed with caution!
3+
4+
__metadata:
5+
version: 8
6+
cacheKey: 10c0
7+
8+
"at-least-node@npm:^1.0.0":
9+
version: 1.0.0
10+
resolution: "at-least-node@npm:1.0.0"
11+
checksum: 10c0/4c058baf6df1bc5a1697cf182e2029c58cd99975288a13f9e70068ef5d6f4e1f1fd7c4d2c3c4912eae44797d1725be9700995736deca441b39f3e66d8dee97ef
12+
languageName: node
13+
linkType: hard
14+
15+
"csv-parse@npm:^5.3.0":
16+
version: 5.5.5
17+
resolution: "csv-parse@npm:5.5.5"
18+
checksum: 10c0/717d8e66386cbeed9baea93f231efd3aff967a9b70c27f0c8bb19fa5a723d01b2d426b6728e8f1e5e26731ec4371a5f513e1a524344411735fc8d3848770409e
19+
languageName: node
20+
linkType: hard
21+
22+
"ffxiv-opcode-worker@workspace:.":
23+
version: 0.0.0-use.local
24+
resolution: "ffxiv-opcode-worker@workspace:."
25+
dependencies:
26+
csv-parse: "npm:^5.3.0"
27+
fs-extra: "npm:^9.0.1"
28+
languageName: unknown
29+
linkType: soft
30+
31+
"fs-extra@npm:^9.0.1":
32+
version: 9.1.0
33+
resolution: "fs-extra@npm:9.1.0"
34+
dependencies:
35+
at-least-node: "npm:^1.0.0"
36+
graceful-fs: "npm:^4.2.0"
37+
jsonfile: "npm:^6.0.1"
38+
universalify: "npm:^2.0.0"
39+
checksum: 10c0/9b808bd884beff5cb940773018179a6b94a966381d005479f00adda6b44e5e3d4abf765135773d849cc27efe68c349e4a7b86acd7d3306d5932c14f3a4b17a92
40+
languageName: node
41+
linkType: hard
42+
43+
"graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0":
44+
version: 4.2.11
45+
resolution: "graceful-fs@npm:4.2.11"
46+
checksum: 10c0/386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2
47+
languageName: node
48+
linkType: hard
49+
50+
"jsonfile@npm:^6.0.1":
51+
version: 6.1.0
52+
resolution: "jsonfile@npm:6.1.0"
53+
dependencies:
54+
graceful-fs: "npm:^4.1.6"
55+
universalify: "npm:^2.0.0"
56+
dependenciesMeta:
57+
graceful-fs:
58+
optional: true
59+
checksum: 10c0/4f95b5e8a5622b1e9e8f33c96b7ef3158122f595998114d1e7f03985649ea99cb3cd99ce1ed1831ae94c8c8543ab45ebd044207612f31a56fd08462140e46865
60+
languageName: node
61+
linkType: hard
62+
63+
"universalify@npm:^2.0.0":
64+
version: 2.0.1
65+
resolution: "universalify@npm:2.0.1"
66+
checksum: 10c0/73e8ee3809041ca8b818efb141801a1004e3fc0002727f1531f4de613ea281b494a40909596dae4a042a4fb6cd385af5d4db2e137b1362e0e91384b828effd3a
67+
languageName: node
68+
linkType: hard

0 commit comments

Comments
 (0)