From 731d17ab6891e1c771b6af23a21646129012f6e0 Mon Sep 17 00:00:00 2001 From: Erik Arvidsson Date: Thu, 7 Nov 2024 14:43:10 +0100 Subject: [PATCH] chore: Test on LTS versions of Node --- .github/workflows/nodejs.yml | 38 ++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 2c71f88..613dcfe 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -8,24 +8,24 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x, 19.x] + node-version: [18.x, 20.x, 22.x] steps: - - uses: actions/checkout@v3 - - name: Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - name: Dependencies - run: | - sudo apt-get update - sudo apt-get install binaryen - yarn - - name: Build - run: yarn build - - name: Lint - run: yarn lint - - name: Test Coverage - run: yarn test-coverage - - name: Bundle Size - run: yarn size + - uses: actions/checkout@v3 + - name: Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - name: Dependencies + run: | + sudo apt-get update + sudo apt-get install binaryen + yarn + - name: Build + run: yarn build + - name: Lint + run: yarn lint + - name: Test Coverage + run: yarn test-coverage + - name: Bundle Size + run: yarn size