Skip to content

Commit f0646c2

Browse files
committed
1 parent f345fb1 commit f0646c2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
node-version: "17.9"
112112

113113
- name: Node.js 18.x
114-
node-version: "18.13"
114+
node-version: "18.14"
115115

116116
steps:
117117
- uses: actions/checkout@v3
@@ -131,7 +131,12 @@ jobs:
131131
dirname "$(nvm which ${{ matrix.node-version }})" >> "$GITHUB_PATH"
132132
133133
- name: Configure npm
134-
run: npm config set shrinkwrap false
134+
run: |
135+
if [[ "$(npm config get package-lock)" == "true" ]]; then
136+
npm config set package-lock false
137+
else
138+
npm config set shrinkwrap false
139+
fi
135140
136141
- name: Remove npm module(s) ${{ matrix.npm-rm }}
137142
run: npm rm --silent --save-dev ${{ matrix.npm-rm }}

0 commit comments

Comments
 (0)