From 8a62e9613e5abb4f3577f3980d0eaf5c4efda9ae Mon Sep 17 00:00:00 2001 From: uiolee <22849383+uiolee@users.noreply.github.com> Date: Tue, 11 Feb 2025 22:53:59 +0800 Subject: [PATCH 1/4] ci: bump node version --- .github/workflows/tester.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index 16d6c49..a421141 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -8,11 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: ['14.x', '16.x', '18.x'] - exclude: - # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow#excluding-matrix-configurations - - os: macos-latest - node-version: 14.x + node-version: [ '18','20','22'] fail-fast: false steps: - uses: actions/checkout@v2 @@ -37,7 +33,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: ['14.x'] + node-version: ['lts/*'] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} From 122252b2ee1186b4aa6a2ab1e334d843e20f15dc Mon Sep 17 00:00:00 2001 From: uiolee <22849383+uiolee@users.noreply.github.com> Date: Tue, 11 Feb 2025 22:54:39 +0800 Subject: [PATCH 2/4] bump engines version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 73ecbdd..bed2f4e 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,6 @@ "uuid": "^9.0.0" }, "engines": { - "node": ">=14" + "node": ">=18" } } From d85f8600b63ab5248c24ebc1b72ba05d39b84be6 Mon Sep 17 00:00:00 2001 From: uiolee <22849383+uiolee@users.noreply.github.com> Date: Tue, 11 Feb 2025 22:55:10 +0800 Subject: [PATCH 3/4] bump actions version --- .github/workflows/tester.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index a421141..cfc0263 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -11,7 +11,7 @@ jobs: node-version: [ '18','20','22'] fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: @@ -35,9 +35,9 @@ jobs: os: [ubuntu-latest] node-version: ['lts/*'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Cache NPM dependencies @@ -53,6 +53,6 @@ jobs: env: CI: true - name: Coveralls - uses: coverallsapp/github-action@master + uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.github_token }} From 40b8ac0a759a913872a8dd1bc42d139ccbec31ae Mon Sep 17 00:00:00 2001 From: uiolee <22849383+uiolee@users.noreply.github.com> Date: Tue, 11 Feb 2025 22:56:24 +0800 Subject: [PATCH 4/4] ci: remove unnecessary env variables --- .github/workflows/tester.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index cfc0263..0f8816e 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -26,8 +26,7 @@ jobs: run: npm install - name: Test run: npm run test - env: - CI: true + coverage: runs-on: ${{ matrix.os }} strategy: @@ -50,8 +49,6 @@ jobs: run: npm install - name: Coverage run: npm run test-cov - env: - CI: true - name: Coveralls uses: coverallsapp/github-action@v2 with: