Skip to content

Commit

Permalink
Bump pnpm version
Browse files Browse the repository at this point in the history
  • Loading branch information
zeppelin committed Nov 29, 2024
1 parent bc70f7f commit 3ec3a81
Show file tree
Hide file tree
Showing 4 changed files with 5,632 additions and 4,623 deletions.
29 changes: 7 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
- pull_request

env:
PNPM_VERSION: 8.10.5
NODE_VERSION: 20

jobs:
lint:
Expand All @@ -12,14 +12,9 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2.4.0
- uses: wyvox/action-setup-pnpm@v3
with:
version: ${{ env.PNPM_VERSION }}
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: pnpm
node-version: ${{ env.NODE_VERSION }}
- name: Install Dependencies
run: pnpm install
- name: Run lint
Expand All @@ -32,14 +27,9 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
with:
version: ${{ env.PNPM_VERSION }}
- name: Install Node
uses: actions/setup-node@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: 18.x
cache: pnpm
node-version: ${{ env.NODE_VERSION }}
- name: Install Dependencies
run: pnpm install
- name: Install playwright browsers
Expand All @@ -54,14 +44,9 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
with:
version: ${{ env.PNPM_VERSION }}
- name: Install Node
uses: actions/setup-node@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: 18.x
cache: pnpm
node-version: ${{ env.NODE_VERSION }}
- name: Install Dependencies
run: pnpm install
- name: Run unit tests
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main

env:
PNPM_VERSION: 8.10.5
NODE_VERSION: 20

jobs:
build-and-deploy:
Expand All @@ -17,15 +17,9 @@ jobs:
uses: actions/[email protected]

- name: Setup 📦
uses: pnpm/action-setup@v2.4.0
uses: wyvox/action-setup-pnpm@v3
with:
version: ${{ env.PNPM_VERSION }}

- name: Install Node 📦
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: pnpm
node-version: ${{ env.NODE_VERSION }}

- name: Install and Build 🔧
run: |
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
"engines": {
"node": ">=16"
},
"pnpm": {
"packageManager": "pnpm@^9.7.0"
},
"dependencies": {
"deepmerge": "^4.3.0",
"focus-trap": "^7.3.1"
Expand Down
Loading

0 comments on commit 3ec3a81

Please sign in to comment.