Skip to content

Commit

Permalink
Update deps and CI settings (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Apr 29, 2022
1 parent 089a535 commit e6d44ab
Show file tree
Hide file tree
Showing 3 changed files with 1,363 additions and 2,350 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js LTS
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: npm

- name: Install latest npm
run: npm install --global npm@8.3
# TODO: npm@8.4 is broken on Windows. See https://github.com/npm/cli/issues/4341
# run: npm install --global npm@latest
run: npm install --global npm@latest

- name: Install dependencies
run: npm ci
Expand All @@ -43,22 +41,20 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [12, 14, 16]
node: [12, 14, 16, 18]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: npm

- name: Install latest npm
run: npm install --global npm@8.3
# TODO: npm@8.4 is broken on Windows. See https://github.com/npm/cli/issues/4341
# run: npm install --global npm@latest
run: npm install --global npm@latest

- name: Install dependencies
run: npm ci
Expand Down
Loading

0 comments on commit e6d44ab

Please sign in to comment.