Skip to content

Commit

Permalink
Update dependencies. Start using pnpm from corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
hildjj committed May 27, 2024
1 parent d63d3a0 commit 013af84
Show file tree
Hide file tree
Showing 13 changed files with 8,912 additions and 643 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,27 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
node-version: [18.x, 20.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- name: Install pnpm
run: corepack enable
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache: pnpm
- name: Install dependencies
run: npm install
run: pnpm install
- name: Check coding standards
if: matrix.node-version == '21.x' && matrix.os == 'ubuntu-latest'
if: matrix.node-version == '22.x' && matrix.os == 'ubuntu-latest'
run: npm run lint
- name: Static analysis - check types
if: matrix.node-version == '21.x' && matrix.os == 'ubuntu-latest'
if: matrix.node-version == '22.x' && matrix.os == 'ubuntu-latest'
run: npm run ts
- name: Test
run: npm run test
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ build/
coverage/
examples/*.js
node_modules/
pnpm-lock.yaml
yarn.lock
.nyc_output
*.map
Expand Down
2 changes: 1 addition & 1 deletion docs/js/benchmark-bundle.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js/test-bundle.min.js

Large diffs are not rendered by default.

1,659 changes: 1,659 additions & 0 deletions docs/pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/vendor/peggy/peggy.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 013af84

Please sign in to comment.