From 87e79bc4fd92b2159245e92c1055315bb74703e2 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 16 Aug 2022 12:52:39 +0200 Subject: [PATCH 1/2] chore: run tests against node 18 --- .github/workflows/nodejs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 08d64cb..4271bff 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -9,12 +9,12 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: [12.x, 14.x, 16.x, 18.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - name: install, test, lint and typecheck From 110cda7d768695335931b0ac41046499c4df9b2a Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 16 Aug 2022 12:53:17 +0200 Subject: [PATCH 2/2] cache deps --- .github/workflows/nodejs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 4271bff..fb77a80 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -17,6 +17,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + cache: yarn - name: install, test, lint and typecheck run: | yarn