Skip to content

Commit 3ea2d3a

Browse files
committed
ci: update publish scripts
1 parent 64f0ab6 commit 3ea2d3a

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.github/workflows/publish-beta.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,16 @@ jobs:
88
publish:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v1
12-
- uses: actions/setup-node@v1
11+
- uses: actions/checkout@v3
1312
with:
14-
node-version: '16.x'
13+
submodules: true
14+
- uses: actions/setup-node@v3
15+
with:
16+
node-version: '18.x'
17+
- run: |
18+
sudo apt-get update
19+
sudo apt-get install -y libxrandr-dev libxtst-dev
20+
- run: yarn apply-libuiohook-patch
1521
- name: NPM config
1622
run: |
1723
npm config set //registry-lpm.listenai.com/:_password ${{ secrets.LPM_ZHUOBIN_TOKEN }}

.github/workflows/publish-latest.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ jobs:
88
publish:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v1
12-
- uses: actions/setup-node@v1
11+
- uses: actions/checkout@v3
1312
with:
14-
node-version: '16.x'
13+
submodules: true
14+
- uses: actions/setup-node@v3
15+
with:
16+
node-version: '18.x'
1517
- name: NPM config
1618
run: |
1719
npm config set //registry-lpm.listenai.com/:_password ${{ secrets.LPM_ZHUOBIN_TOKEN }}

0 commit comments

Comments
 (0)