v1.3.0 #65
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | |
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | |
name: Publish to npm | |
on: | |
release: | |
types: [created] | |
jobs: | |
linux-build: | |
runs-on: ubuntu-latest | |
env: | |
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- uses: samuelmeuli/action-snapcraft@v2 | |
- run: sudo dpkg --add-architecture i386 && sudo apt-get update -y && sudo apt-get install lzip elfutils libarchive-tools wine wine32 -y | |
- run: npm ci | |
- run: npm run build-linux | |
windows-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win | |
macos-build: | |
runs-on: macos-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-macos | |
publish-npm: | |
runs-on: ubuntu-latest | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.npm_token}} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- uses: samuelmeuli/action-snapcraft@v2 | |
- run: npm ci | |
- run: npm publish | |
mac_universal-build: | |
runs-on: macos-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-mac_universal | |
mac_zip-build: | |
runs-on: macos-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-mac_zip | |
mac_zip_universal-build: | |
runs-on: macos-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-mac_zip_universal | |
mac_7z-build: | |
runs-on: macos-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-mac_7z | |
mac_7z_universal-build: | |
runs-on: macos-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-mac_7z_universal | |
mac_default-build: | |
runs-on: macos-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-mac_default | |
mac_default_universal-build: | |
runs-on: macos-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-mac_default_universal | |
mac_dmg-build: | |
runs-on: macos-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-mac_dmg | |
mac_dmg_universal-build: | |
runs-on: macos-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-mac_dmg_universal | |
mac_pkg_arm64-build: | |
runs-on: macos-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-mac_pkg_arm64 | |
mac_pkg_x64-build: | |
runs-on: macos-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-mac_pkg_x64 | |
mac_pkg_universal-build: | |
runs-on: macos-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-mac_pkg_universal | |
win_appx_arm64-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- uses: lyricwulf/abc@v1 | |
with: | |
windows: lzip | |
- run: npm ci | |
- run: npm run build-win_appx_arm64 | |
win_appx_ia32-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- uses: lyricwulf/abc@v1 | |
with: | |
windows: lzip | |
- run: npm ci | |
- run: npm run build-win_appx_ia32 | |
win_appx_x64-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- uses: lyricwulf/abc@v1 | |
with: | |
windows: lzip | |
- run: npm ci | |
- run: npm run build-win_appx_x64 | |
win_dir_arm64-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win_dir_arm64 | |
win_dir_ia32-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win_dir_ia32 | |
win_dir_x64-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win_dir_x64 | |
win_lz_arm64-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- uses: lyricwulf/abc@v1 | |
with: | |
windows: lzip | |
- run: npm ci | |
- run: npm run build-win_lz_arm64 | |
win_lz_ia32-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- uses: lyricwulf/abc@v1 | |
with: | |
windows: lzip | |
- run: npm ci | |
- run: npm run build-win_lz_ia32 | |
win_lz_x64-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- uses: lyricwulf/abc@v1 | |
with: | |
windows: lzip | |
- run: npm ci | |
- run: npm run build-win_lz_x64 | |
win_nsis_exe_arm64-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win_nsis_exe_arm64 | |
win_nsis_exe_ia32-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win_nsis_exe_ia32 | |
win_nsis_exe_x64-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win_nsis_exe_x64 | |
win_nsis_portable_arm64-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win_nsis_portable_arm64 | |
win_nsis_portable_ia32-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win_nsis_portable_ia32 | |
win_nsis_portable_x64-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win_nsis_portable_x64 | |
win_nsis_web_arm64-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win_nsis_web_arm64 | |
win_nsis_web_ia32-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win_nsis_web_ia32 | |
win_nsis_web_x64-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win_nsis_web_x64 | |
win_portable_arm64-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win_portable_arm64 | |
win_portable_ia32-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win_portable_ia32 | |
win_portable_x64-build: | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- run: npm ci | |
- run: npm run build-win_portable_x64 | |
linux_apk-build: | |
runs-on: ubuntu-latest | |
env: | |
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- uses: samuelmeuli/action-snapcraft@v2 | |
- run: sudo dpkg --add-architecture i386 && sudo apt-get update -y && sudo apt-get install lzip elfutils libarchive-tools wine wine32 -y | |
- run: npm ci | |
- run: npm run build-linux_apk | |
linux_AppImage-build: | |
runs-on: ubuntu-latest | |
env: | |
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- uses: samuelmeuli/action-snapcraft@v2 | |
- run: sudo dpkg --add-architecture i386 && sudo apt-get update -y && sudo apt-get install lzip elfutils libarchive-tools wine wine32 -y | |
- run: npm ci | |
- run: npm run build-linux_AppImage | |
linux_deb-build: | |
runs-on: ubuntu-latest | |
env: | |
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- uses: samuelmeuli/action-snapcraft@v2 | |
- run: sudo dpkg --add-architecture i386 && sudo apt-get update -y && sudo apt-get install lzip elfutils libarchive-tools wine wine32 -y | |
- run: npm ci | |
- run: npm run build-linux_deb | |
linux_freebsd-build: | |
runs-on: ubuntu-latest | |
env: | |
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- uses: samuelmeuli/action-snapcraft@v2 | |
- run: sudo dpkg --add-architecture i386 && sudo apt-get update -y && sudo apt-get install lzip elfutils libarchive-tools wine wine32 -y | |
- run: npm ci | |
- run: npm run build-linux_freebsd | |
linux_pacman-build: | |
runs-on: ubuntu-latest | |
env: | |
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- uses: samuelmeuli/action-snapcraft@v2 | |
- run: sudo dpkg --add-architecture i386 && sudo apt-get update -y && sudo apt-get install lzip elfutils libarchive-tools wine wine32 -y | |
- run: npm ci | |
- run: npm run build-linux_pacman | |
linux_rpm-build: | |
runs-on: ubuntu-latest | |
env: | |
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- uses: bduff9/[email protected] | |
with: | |
dot-npmrc: ${{ secrets.DOT_NPMRC }} | |
- uses: samuelmeuli/action-snapcraft@v2 | |
- run: sudo dpkg --add-architecture i386 && sudo apt-get update -y && sudo apt-get install lzip elfutils libarchive-tools wine wine32 -y | |
- run: npm ci | |
- run: npm run build-linux_rpm |