Skip to content

Commit

Permalink
feat: upgrade pnpm, test on more platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeysova committed Nov 29, 2023
1 parent 5c0f533 commit 2fb9680
Show file tree
Hide file tree
Showing 4 changed files with 955 additions and 900 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- name: 📦 Setup pnpm
uses: pnpm/action-setup@v2

- name: 🐧 Use Node.js v18.x
- name: 🐧 Use Node.js v20.x
uses: actions/setup-node@v3
with:
node-version: v18.x
node-version: v20.x
cache: 'pnpm'

- name: 🔍 Install dependencies
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
name: Test Package
name: CI

on: [push]

jobs:
test-package:
runs-on: ubuntu-22.04
name: Test on Node v${{ matrix.node }} and ${{ matrix.os }}

runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['16.x', '18.x', '20.x']
os: [ubuntu-latest, macOS-latest]

steps:
- name: 🛎️ Checkout
uses: actions/checkout@v3

- name: 📦 Setup pnpm
uses: pnpm/action-setup@v2

- name: 🐧 Use Node.js v18.x
- name: 🐧 Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: v18.x
node-version: ${{ matrix.node }}
cache: 'pnpm'

- name: 🔍 Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"commit": "git-cz",
"prepublish": "pnpm build"
},
"packageManager": "pnpm@7.11.0",
"packageManager": "pnpm@8.11.0",
"peerDependencies": {
"effector": "^22.8.8 || ^23.0.0"
},
Expand All @@ -41,7 +41,7 @@
"babel-plugin-tester": "^10.0.0",
"commitizen": "4.0.3",
"cz-conventional-changelog": "3.0.2",
"effector": "23.0.0",
"effector": "^23.0.0",
"eslint": "^6.6.0",
"eslint-plugin-prettier": "^3.1.2",
"husky": "3.1.0",
Expand Down
Loading

0 comments on commit 2fb9680

Please sign in to comment.