Skip to content

Commit 35c4ddb

Browse files
committedApr 17, 2024·
chore: switch to use pnpm
1 parent 072188f commit 35c4ddb

File tree

4 files changed

+2848
-7479
lines changed

4 files changed

+2848
-7479
lines changed
 

‎.github/workflows/test.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,25 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
node_version: [14.x, 16.x, 18.x, 20.x]
22+
node_version: [lts/*]
2323
os: [ubuntu-latest, windows-latest, macos-latest]
2424
fail-fast: false
2525

2626
steps:
27-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@v4
2828

2929
- name: Set node version to ${{ matrix.node_version }}
30-
uses: actions/setup-node@v2
30+
uses: actions/setup-node@v4
3131
with:
3232
node-version: ${{ matrix.node_version }}
3333

34+
- uses: pnpm/action-setup@v3
35+
3436
- name: Install
35-
run: npm i
37+
run: pnpm i
3638

3739
- name: Lint
38-
if: ${{ matrix.node_version == '14.x' }}
39-
run: npm run lint
40+
run: pnpm run lint
4041

4142
- name: Test
42-
run: npm test
43+
run: pnpm test

‎package-lock.json

-7,472
This file was deleted.

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "magic-string",
33
"version": "0.30.9",
4+
"packageManager": "pnpm@9.0.1",
45
"description": "Modify strings, generate sourcemaps",
56
"keywords": [
67
"string",

‎pnpm-lock.yaml

+2,839
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.