Skip to content

Commit

Permalink
chore: 修改CI
Browse files Browse the repository at this point in the history
0.1.8
  • Loading branch information
nashaofu committed Oct 4, 2023
1 parent 7114194 commit 4982dff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/napi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@ jobs:
# rustup target add aarch64-unknown-linux-musl && \
# yarn build --target aarch64-unknown-linux-musl &&
# /aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip *.node
name: stable - ${{ matrix.settings.target }} - node@18
name: build - ${{ matrix.settings.target }}
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
if: ${{ !matrix.settings.docker }}
with:
node-version: 18
node-version: 14
check-latest: true
cache: yarn
- name: Install
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
uses: actions/setup-node@v3
if: matrix.settings.target == 'i686-pc-windows-msvc'
with:
node-version: 18
node-version: 16
check-latest: true
cache: yarn
architecture: x86
Expand Down Expand Up @@ -212,6 +212,8 @@ jobs:
fail-fast: false
matrix:
node:
- "14"
- "16"
- "18"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -352,7 +354,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 14
check-latest: true
cache: yarn
- name: Install dependencies
Expand Down Expand Up @@ -380,7 +382,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- test-macOS-windows-binding
# - test-linux-x64-gnu-binding
- test-linux-x64-gnu-binding
- test-linux-x64-musl-binding
# - test-linux-aarch64-gnu-binding
# - test-linux-aarch64-musl-binding
Expand All @@ -390,7 +392,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 14
check-latest: true
cache: yarn
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-screenshots",
"version": "0.1.7",
"version": "0.1.8",
"main": "index.js",
"types": "index.d.ts",
"files": [
Expand Down

0 comments on commit 4982dff

Please sign in to comment.