Fix GitHub Actions (again)
This commit is contained in:
parent
10becff3a0
commit
623b16c958
1 changed files with 15 additions and 3 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue