From bcf8564087aad066890c0033511923a0aef141e1 Mon Sep 17 00:00:00 2001 From: dengliming Date: Tue, 6 Dec 2022 22:30:59 +0800 Subject: [PATCH] test --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 82cdd934..a5ef2880 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12.x, 14.x, 16.x, 18.x] + node-version: [10.x, 12.x, 14.x, 16.x, 18.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} @@ -22,4 +22,5 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm install - run: npm run lint + if: matrix.node-version == '12.x' - run: npm run build --if-present