From 1516aaac7ec1d619433c23e2f8af1910c0b72c64 Mon Sep 17 00:00:00 2001 From: memob0x Date: Fri, 1 Sep 2023 13:32:27 +0200 Subject: [PATCH] Update nodejs.yml --- .github/workflows/nodejs.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 0529a7f..3e75d21 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -5,17 +5,16 @@ on: [push] jobs: build: runs-on: ubuntu-latest - strategy: matrix: - node-version: [20.x] - + node: [ 18, 20 ] + name: Node ${{ matrix.node }} sample steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + - 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 test