ci: test on more operating systems

This commit is contained in:
Amin Yahyaabadi 2022-02-13 19:41:23 -08:00
parent 5980f76f4a
commit 8a97f81d68
1 changed files with 5 additions and 0 deletions

View File

@ -17,7 +17,10 @@ jobs:
os: os:
- windows-2022 - windows-2022
- windows-2019 - windows-2019
- windows-2016
- ubuntu-20.04 - ubuntu-20.04
- ubuntu-18.04
- macos-11
- macos-10.15 - macos-10.15
node: node:
- 14 # installed on the images - 14 # installed on the images
@ -56,10 +59,12 @@ jobs:
# Create self-contained executable that bundles Nodejs # Create self-contained executable that bundles Nodejs
- name: Create Executable - name: Create Executable
if: "contains(matrix.os, 'windows-2022') || contains(matrix.os, 'ubuntu-20.04') || contains(matrix.os, 'macos-11')"
run: | run: |
pnpm run pack.exe pnpm run pack.exe
- name: Upload Executable - name: Upload Executable
if: "contains(matrix.os, 'windows-2022') || contains(matrix.os, 'ubuntu-20.04') || contains(matrix.os, 'macos-11')"
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
path: | path: |