From 29d7dfc2744227fde7cbc48547bc988bccccd84c Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Tue, 9 Jan 2024 09:18:05 +1100 Subject: [PATCH] Refresh CI for nodejs New nodejs versions New action versions Use npm ci --- .github/workflows/node.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 6e5a671..03d27dd 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -21,13 +21,13 @@ jobs: strategy: matrix: - node-version: [12, 14, 16, 18] + node-version: [16, 18, 20] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - run: cd nodejs; npm install + - run: cd nodejs; npm ci - run: cd nodejs; node test.js dump verbose