Skip to content

Commit e3b87d9

Browse files
committed
Migrate to pnpm
1 parent 29f0790 commit e3b87d9

File tree

7 files changed

+4901
-11064
lines changed

7 files changed

+4901
-11064
lines changed

.github/workflows/node.js.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,30 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [12.x, 14.x, 16.x]
19+
node-version: [18.x, 20.x, 22.x]
2020

2121
steps:
2222
- uses: actions/checkout@v2
2323
- name: Use Node.js ${{ matrix.node-version }}
2424
uses: actions/setup-node@v1
2525
with:
2626
node-version: ${{ matrix.node-version }}
27-
- run: npm ci
28-
- run: npm run build --if-present
29-
- run: npm run lint
30-
- run: npm test
27+
- name: Install pnpm
28+
uses: pnpm/action-setup@v4
29+
with:
30+
version: 9
31+
- name: Get pnpm store directory
32+
id: pnpm-cache
33+
shell: bash
34+
run: |
35+
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
36+
- uses: actions/cache@v3
37+
name: Setup pnpm cache
38+
with:
39+
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
40+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
41+
restore-keys: |
42+
${{ runner.os }}-pnpm-store-
43+
- run: pnpm install --frozen-lockfile
44+
- run: pnpm run lint
45+
- run: pnpm test

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
/bower_components/
99
/node_modules/
1010

11+
# pnpm
12+
.pnpm-debug.log*
13+
.pnpm-store/
14+
1115
# misc
1216
/.env*
1317
/.pnp*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Make sure your app's `moudlePrefix` is equal to your Sentry `appName`, and your
6767

6868
1. Install Sentry:
6969

70-
`npm i @sentry/browser @sentry/integrations`
70+
`pnpm add @sentry/ember`
7171

7272
2. Add sentry config to `config/environment.js` file
7373

0 commit comments

Comments
 (0)