From 4982dffb5efb47933022ff8079e9e3b9ee6d197f Mon Sep 17 00:00:00 2001 From: nashaofu Date: Sat, 30 Sep 2023 09:06:42 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 0.1.8 --- .github/workflows/napi.yml | 14 ++++++++------ package.json | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/napi.yml b/.github/workflows/napi.yml index 93a4ad5..db4b236 100644 --- a/.github/workflows/napi.yml +++ b/.github/workflows/napi.yml @@ -100,7 +100,7 @@ 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 @@ -108,7 +108,7 @@ jobs: uses: actions/setup-node@v3 if: ${{ !matrix.settings.docker }} with: - node-version: 18 + node-version: 14 check-latest: true cache: yarn - name: Install @@ -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 @@ -212,6 +212,8 @@ jobs: fail-fast: false matrix: node: + - "14" + - "16" - "18" runs-on: ubuntu-latest steps: @@ -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 @@ -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 @@ -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 diff --git a/package.json b/package.json index d924ba0..e6d209f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-screenshots", - "version": "0.1.7", + "version": "0.1.8", "main": "index.js", "types": "index.d.ts", "files": [