Skip to content

Commit d48b27d

Browse files
committed
Replace pnpm with yarn
1 parent 912dc7b commit d48b27d

11 files changed

+11742
-7650
lines changed

.flowconfig

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33

44
[ignore]
55
<PROJECT_ROOT>/dist/.*
6+
<PROJECT_ROOT>/node_modules/.*

.gitattributes

-6
This file was deleted.

.github/workflows/test.yml

+9-18
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,14 @@ on: [push, pull_request]
44

55
jobs:
66
test:
7-
runs-on: ubuntu-latest
8-
strategy:
9-
matrix:
10-
node: ['16', '14', '12']
7+
runs-on: ubuntu-24.04
118
steps:
12-
- uses: actions/checkout@v2
13-
- uses: actions/setup-node@v1
9+
- uses: actions/checkout@v4
10+
- uses: pnpm/action-setup@v4
11+
- uses: actions/setup-node@v4
1412
with:
15-
node-version: ${{ matrix.node }}
16-
- id: yarn-cache
17-
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
18-
- uses: actions/cache@v2
19-
with:
20-
path: ${{ steps.yarn-cache.outputs.dir }}
21-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
22-
restore-keys: |
23-
${{ runner.os }}-yarn-:
24-
- run: yarn install --immutable
25-
- run: yarn build
26-
- run: yarn test
13+
node-version: lts/*
14+
cache: pnpm
15+
- run: pnpm install
16+
- run: pnpm build
17+
- run: pnpm test

.gitignore

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1+
/node_modules/
2+
13
# Build results
24
/dist/
3-
4-
# Yarn 2
5-
.yarn/*
6-
!.yarn/releases
7-
!.yarn/plugins
8-
!.yarn/sdks
9-
!.yarn/versions
10-
.pnp.*

.prettierignore

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# Yarn 2
2-
/.yarnrc.yml
3-
/.yarn/
4-
/.pnp.*
1+
/pnpm-lock.yaml
52

63
# Build results
74
/dist/

.yarn/releases/yarn-3.0.2.cjs

-631
This file was deleted.

.yarnrc.yml

-6
This file was deleted.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ CSS-in-JS benchmark
33
Benchmarks of vairous CSS-in-JS libraries. **[Try it now!]**
44

55
```bash
6-
yarn
7-
yarn build
6+
pnpm i
7+
pnpm build
88

99
# Benchmark
1010
open index.html

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@
5959
"singleQuote": true,
6060
"trailingComma": "none"
6161
},
62-
"packageManager": "[email protected].2"
62+
"packageManager": "[email protected].2"
6363
}

0 commit comments

Comments
 (0)