diff --git a/.github/workflows/publish-beta.yml b/.github/workflows/publish-beta.yml index 6bb372b..538e60a 100644 --- a/.github/workflows/publish-beta.yml +++ b/.github/workflows/publish-beta.yml @@ -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 }} diff --git a/.github/workflows/publish-latest.yml b/.github/workflows/publish-latest.yml index 346e906..496ae18 100644 --- a/.github/workflows/publish-latest.yml +++ b/.github/workflows/publish-latest.yml @@ -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 }}