From 4c3f9478b5585df8e0b25193ab8a18d2a8dc5f2c Mon Sep 17 00:00:00 2001 From: smallwhite Date: Wed, 6 Mar 2024 06:40:25 +0000 Subject: [PATCH] remove ci node 12, add node 20. --- .github/workflows/ci.yml | 2 +- .github/workflows/npm-publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 44cf58f62..4bfe9490d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [12.x, 14.x, 16.x, 18.x] + node-version: [14.x, 16.x, 18.x, 20.x] env: NODE_ENV: ci steps: diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index a345557ce..7f04d7d09 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@master with: - node-version: 12 + node-version: 14 registry-url: https://registry.npmjs.org/ - run: git remote set-url origin https://node-pinus:${{ secrets.GITHUB_TOKEN }}@github.com/node-pinus/pinus.git - run: git checkout origin/master -B master