forked from SnosMe/uiohook-napi
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 977 Bytes
/
publish-beta.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: publish-beta
on:
push:
tags: ['v*']
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
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 }}
npm config set //registry-lpm.listenai.com/:username zbzhao
npm config set //registry-lpm.listenai.com/:email zbzhao@listenai.com
- run: npm install
- run: npm run build-ts
# - run: npm publish --tag=beta --registry=https://registry-lpm.listenai.com
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
tag: 'beta'
access: 'public'