Skip to content

Commit

Permalink
Move to pnpm 9, add Node.js 21 to CI and update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Apr 24, 2024
1 parent ae3bef5 commit 89b82c9
Show file tree
Hide file tree
Showing 3 changed files with 1,649 additions and 1,301 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,22 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
version: 9
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 21
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
run: pnpm install --ignore-scripts
- name: Run tests
run: pnpm test
short:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 20
- 18
name: Node.js ${{ matrix.node-version }} Quick
steps:
Expand All @@ -39,13 +40,13 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
version: 9
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
run: pnpm install --ignore-scripts
- name: Run unit tests
run: pnpm unit
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
"sugarss": "^4.0.1"
},
"devDependencies": {
"@logux/eslint-config": "^53.0.0",
"@logux/eslint-config": "^53.0.1",
"c8": "^9.1.0",
"clean-publish": "^4.3.0",
"clean-publish": "^4.4.0",
"eslint": "^8.57.0",
"postcss": "^8.4.35"
"postcss": "^8.4.38"
},
"prettier": {
"arrowParens": "avoid",
Expand Down
Loading

0 comments on commit 89b82c9

Please sign in to comment.