From 531b6a3a48709e3ef7486003ee0c46feae2395ba Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Fri, 5 May 2023 01:53:35 +0000 Subject: [PATCH] Adjust CI --- .github/workflows/nodejs.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 6680f6d..2c6849b 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -3,18 +3,18 @@ name: Node CI on: [push, pull_request] jobs: test: - name: node @ ubuntu-latest + name: v${{ matrix.node }} @ ubuntu-latest runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node: [16, 18, 20] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ matrix.node }} - run: npm install - run: npm run build --if-present - - run: npm run lint --if-present - run: npm test + - run: npm run lint --if-present