mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
CI: use clearer job names
This commit is contained in:
parent
27d0c35a01
commit
b0c69f1ee9
9
.github/workflows/ci-darwin-arm64v8.yml
vendored
9
.github/workflows/ci-darwin-arm64v8.yml
vendored
@ -7,25 +7,26 @@ jobs:
|
|||||||
CI:
|
CI:
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # for npx prebuild to make release
|
contents: write # for npx prebuild to make release
|
||||||
|
name: Node.js ${{ matrix.nodejs_version }} ${{ matrix.nodejs_arch }} ${{ matrix.prebuild && '- prebuild' }}
|
||||||
runs-on: macos-m1
|
runs-on: macos-m1
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- nodejs_version: 14
|
- nodejs_version: 14
|
||||||
nodejs_architecture: x64
|
nodejs_arch: x64
|
||||||
- nodejs_version: 18
|
- nodejs_version: 18
|
||||||
nodejs_architecture: arm64
|
nodejs_arch: arm64
|
||||||
prebuild: true
|
prebuild: true
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: /usr/bin/arch -arch arm64e /bin/bash -l {0}
|
shell: /usr/bin/arch -arch arm64e /bin/bash -l {0}
|
||||||
steps:
|
steps:
|
||||||
- name: Dependencies
|
- name: Dependencies
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.nodejs_version }}
|
node-version: ${{ matrix.nodejs_version }}
|
||||||
architecture: ${{ matrix.nodejs_architecture }}
|
architecture: ${{ matrix.nodejs_arch }}
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Install
|
- name: Install
|
||||||
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -97,7 +97,7 @@ jobs:
|
|||||||
run: npm test
|
run: npm test
|
||||||
- name: Coverage
|
- name: Coverage
|
||||||
if: matrix.coverage
|
if: matrix.coverage
|
||||||
uses: coverallsapp/github-action@v1
|
uses: coverallsapp/github-action@1.1.3
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Prebuild
|
- name: Prebuild
|
||||||
|
Loading…
x
Reference in New Issue
Block a user