From 8e89550ebebb52c54e3aba0d178fc49be97a38c2 Mon Sep 17 00:00:00 2001 From: Huan Date: Fri, 4 Jun 2021 22:49:24 +0800 Subject: [PATCH] use node 16 for ci, and test 12/24 for end users as well --- .github/workflows/npm.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 2daebd4e1..1db9d5a69 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -15,10 +15,10 @@ jobs: restore-keys: | ${{ runner.os }}-wechaty- - - name: Use Node.js 15 + - name: Use Node.js 16 uses: actions/setup-node@v2 with: - node-version: 15 + node-version: [12, 14, 16] - name: Install Dependencies run: | node --version @@ -43,7 +43,7 @@ jobs: - uses: actions/setup-node@v2 with: - node-version: 15 + node-version: 16 - run: npm install - run: ./scripts/generate-version.sh - run: ./scripts/npm-pack-testing.sh @@ -66,7 +66,7 @@ jobs: - uses: actions/setup-node@v2 with: - node-version: 15 + node-version: 16 registry-url: https://registry.npmjs.org/ - run: npm install - run: ./scripts/generate-version.sh -- GitLab