Skip to content

Commit

Permalink
build: support Node.js 18.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Sep 26, 2024
1 parent 557fea0 commit 6503fd6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- Node.js 14.x
- Node.js 15.x
- Node.js 16.x
- Node.js 18.x

include:
- name: Node.js 0.10
Expand Down Expand Up @@ -97,6 +98,9 @@ jobs:
- name: Node.js 16.x
node-version: "16.7"

- name: Node.js 18.x
node-version: "18.18"

steps:
- uses: actions/checkout@v3

Expand All @@ -107,7 +111,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 }}
Expand Down

0 comments on commit 6503fd6

Please sign in to comment.