Skip to content

Commit

Permalink
build: support Node.js 20.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Oct 31, 2023
1 parent a98d4f2 commit dd6f061
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 @@ -33,6 +33,7 @@ jobs:
- Node.js 17.x
- Node.js 18.x
- Node.js 19.x
- Node.js 20.x

include:
- name: Node.js 0.6
Expand Down Expand Up @@ -134,6 +135,9 @@ jobs:
- name: Node.js 19.x
node-version: "19.2"

- name: Node.js 20.x
node-version: "20.9"

steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -163,7 +167,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 dd6f061

Please sign in to comment.