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