File tree Expand file tree Collapse file tree 4 files changed +2335
-6657
lines changed Expand file tree Collapse file tree 4 files changed +2335
-6657
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
steps :
9
9
- uses : actions/checkout@v2
10
+ - uses : actions/cache@v2
11
+ with :
12
+ path : ~/.pnpm-store
13
+ key : ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
14
+ restore-keys : ${{ runner.os }}-
15
+ - uses : pnpm/action-setup@v2
16
+ with :
17
+ version : 6
10
18
- uses : actions/setup-node@v2
11
- - run : npm ci
19
+ - run : pnpm i
12
20
- run : npm run lint
13
21
test :
14
22
strategy :
18
26
runs-on : ${{ matrix.os }}
19
27
steps :
20
28
- uses : actions/checkout@v2
29
+ - uses : actions/cache@v2
30
+ with :
31
+ path : ~/.pnpm-store
32
+ key : ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
33
+ restore-keys : ${{ runner.os }}-
34
+ - uses : pnpm/action-setup@v2
35
+ with :
36
+ version : 6
21
37
- uses : actions/setup-node@v2
22
38
with :
23
39
node-version : ${{ matrix.node-version }}
24
- - run : npm ci
40
+ - run : pnpm i
25
41
- run : npm run test:coverage
Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ Project on GitHub][egghead]
7
7
8
8
## Project setup
9
9
10
- 1 . Fork and clone the repo
11
- 2 . Run ` npm install ` to install dependencies
12
- 3 . Create a branch for your PR with ` git checkout -b pr/your-branch-name `
10
+ 1 . Install [ pnpm] ( https://pnpm.io/ )
11
+ 2 . Fork and clone the repo
12
+ 3 . Run ` pnpm i ` to install dependencies
13
+ 4 . Create a branch for your PR with ` git checkout -b pr/your-branch-name `
13
14
14
15
It’s also recommended you have [ ESLint] [ eslint ] installed and set up correctly. You may also run the command
15
16
` npm run lint ` to see lint errors.
@@ -71,16 +72,6 @@ Issue**][good-first-issue] are especially good to help with.
71
72
72
73
Also, please watch the repo and respond to questions/bug reports/feature requests! Thanks!
73
74
74
- ## Deploying (access only)
75
-
76
- If you have access to the npm project, run the following:
77
-
78
- ```bash
79
- npm run deploy
80
- ```
81
-
82
- Follow the prompts to release.
83
-
84
75
[all-contributors]: https://github.com/all-contributors/all-contributors
85
76
[egghead]: https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github
86
77
[eslint]: https://eslint.org/
You can’t perform that action at this time.
0 commit comments