From 1663eb7c815e5c8382ea5f369557a1316ed74847 Mon Sep 17 00:00:00 2001 From: foxriver76 Date: Wed, 27 Nov 2024 19:31:21 +0100 Subject: [PATCH] use npm ci --- .github/workflows/test-and-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index 3bd2537..6d8d215 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -75,7 +75,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x] + node-version-file: '.nvmrc' steps: - uses: actions/checkout@v1 @@ -85,7 +85,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install package - run: npm i + run: npm ci - name: Publish package to npm run: |