Skip to content

Commit

Permalink
ci: update publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
seasonyuu committed Sep 12, 2024
1 parent 64f0ab6 commit 3ea2d3a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
with:
node-version: '16.x'
submodules: true
- uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: |
sudo apt-get update
sudo apt-get install -y libxrandr-dev libxtst-dev
- run: yarn apply-libuiohook-patch
- name: NPM config
run: |
npm config set //registry-lpm.listenai.com/:_password ${{ secrets.LPM_ZHUOBIN_TOKEN }}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/publish-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
with:
node-version: '16.x'
submodules: true
- uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: NPM config
run: |
npm config set //registry-lpm.listenai.com/:_password ${{ secrets.LPM_ZHUOBIN_TOKEN }}
Expand Down

0 comments on commit 3ea2d3a

Please sign in to comment.