Fix GitHub Actions (again)

This commit is contained in:
Essem 2022-06-14 00:51:45 -05:00
parent 10becff3a0
commit 623b16c958
No known key found for this signature in database
GPG Key ID: 7D497397CC3A2A8C
1 changed files with 15 additions and 3 deletions

View File

@ -17,12 +17,16 @@ jobs:
uses: actions/checkout@v1
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.2
with:
cache: 'pnpm'
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.2
with:
version: 7
- name: Install dependencies
run: sudo apt install libvips-dev libmagick++-dev
- name: Build
run: pnpm install && npm run build
run: pnpm install && pnpm run build
win32:
runs-on: windows-latest
@ -31,12 +35,16 @@ jobs:
uses: actions/checkout@v1
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.2
with:
cache: 'pnpm'
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.2
with:
version: 7
- name: Install dependencies
run: choco install imagemagick -PackageParameters InstallDevelopmentHeaders=true
- name: Build
run: pnpm install && npm run build
run: pnpm install && pnpm run build
darwin:
runs-on: macos-latest
@ -45,9 +53,13 @@ jobs:
uses: actions/checkout@v1
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.2
with:
cache: 'pnpm'
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.2
with:
version: 7
- name: Install dependencies
run: brew install imagemagick vips
- name: Build
run: pnpm install && npm run build
run: pnpm install && pnpm run build