Skip to content

Commit ec80417

Browse files
committed
Move from yarn to pnpm
1 parent 9819276 commit ec80417

File tree

6 files changed

+2378
-2192
lines changed

6 files changed

+2378
-2192
lines changed

.github/workflows/test.yml

Lines changed: 46 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,19 @@ jobs:
99
steps:
1010
- name: Checkout the repository
1111
uses: actions/checkout@v2
12+
- name: Install pnpm
13+
uses: pnpm/action-setup@v2
14+
with:
15+
version: 6.23.6
1216
- name: Install Node.js
1317
uses: actions/setup-node@v2
1418
with:
1519
node-version: 17
16-
cache: yarn
20+
cache: pnpm
1721
- name: Install dependencies
18-
run: yarn --frozen-lockfile
22+
run: pnpm install --frozen-lockfile
1923
- name: Run tests
20-
run: yarn test
24+
run: pnpm test
2125
env:
2226
FORCE_COLOR: 2
2327
short:
@@ -28,38 +32,69 @@ jobs:
2832
- 16
2933
- 14
3034
- 12
35+
name: Node.js ${{ matrix.node-version }} Quick
36+
steps:
37+
- name: Checkout the repository
38+
uses: actions/checkout@v2
39+
- name: Install pnpm
40+
uses: pnpm/action-setup@v2
41+
with:
42+
version: 6.23.6
43+
- name: Install Node.js ${{ matrix.node-version }}
44+
uses: actions/setup-node@v2
45+
with:
46+
node-version: ${{ matrix.node-version }}
47+
cache: pnpm
48+
- name: Install dependencies
49+
run: pnpm install --frozen-lockfile --ignore-scripts
50+
- name: Run unit tests
51+
run: pnpm unit
52+
env:
53+
FORCE_COLOR: 2
54+
old:
55+
runs-on: ubuntu-latest
56+
strategy:
57+
matrix:
58+
node-version:
3159
- 10
3260
name: Node.js ${{ matrix.node-version }} Quick
3361
steps:
3462
- name: Checkout the repository
3563
uses: actions/checkout@v2
64+
- name: Install pnpm
65+
uses: pnpm/action-setup@v1
66+
with:
67+
version: 3.8.1
68+
env:
69+
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
3670
- name: Install Node.js ${{ matrix.node-version }}
3771
uses: actions/setup-node@v2
3872
with:
3973
node-version: ${{ matrix.node-version }}
40-
cache: yarn
4174
- name: Install dependencies
42-
run: yarn --frozen-lockfile --ignore-engines
75+
run: pnpm install --frozen-lockfile --ignore-scripts
4376
- name: Run unit tests
44-
run: yarn unit
77+
run: pnpm unit
4578
env:
4679
FORCE_COLOR: 2
4780
windows:
4881
runs-on: windows-latest
4982
name: Windows Quick
50-
env:
51-
YARN_GPG: 'no'
5283
steps:
5384
- name: Checkout the repository
5485
uses: actions/checkout@v2
86+
- name: Install pnpm
87+
uses: pnpm/action-setup@v2
88+
with:
89+
version: 6.23.6
5590
- name: Install Node.js LTS
5691
uses: actions/setup-node@v2
5792
with:
5893
node-version: 16
59-
cache: yarn
94+
cache: pnpm
6095
- name: Install dependencies
61-
run: yarn install --frozen-lockfile
96+
run: pnpm install --frozen-lockfile --ignore-scripts
6297
- name: Run unit tests
63-
run: yarn unit
98+
run: pnpm unit
6499
env:
65100
FORCE_COLOR: 2

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
node_modules/
2-
yarn-error.log
32

43
coverage/
54

.npmignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
node_modules/
2-
yarn-error.log
3-
yarn.lock
2+
pnpm-lock.yaml
43

54
.editorconfig
65
coverage/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"transpiler"
5555
],
5656
"scripts": {
57-
"test": "c8 yarn unit && eslint . && node ./test/version.js && check-dts && node ./test/integration.js && size-limit",
57+
"test": "c8 pnpm unit && eslint . && node ./test/version.js && check-dts && node ./test/integration.js && size-limit",
5858
"unit": "uvu -r ts-node/register/transpile-only test \"\\.test\\.(ts|js)$\""
5959
},
6060
"funding": {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy