From f0646c2b13e85a1dec771bc7a1239f4e3a25c582 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 1 Feb 2023 23:12:33 -0500 Subject: [PATCH] build: Node.js@18.14 --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b493b71..952f1252 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,7 +111,7 @@ jobs: node-version: "17.9" - name: Node.js 18.x - node-version: "18.13" + node-version: "18.14" steps: - uses: actions/checkout@v3 @@ -131,7 +131,12 @@ jobs: dirname "$(nvm which ${{ matrix.node-version }})" >> "$GITHUB_PATH" - name: Configure npm - run: npm config set shrinkwrap false + run: | + if [[ "$(npm config get package-lock)" == "true" ]]; then + npm config set package-lock false + else + npm config set shrinkwrap false + fi - name: Remove npm module(s) ${{ matrix.npm-rm }} run: npm rm --silent --save-dev ${{ matrix.npm-rm }}