File tree 5 files changed +3630
-4576
lines changed
5 files changed +3630
-4576
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ name: build
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - master
5
+ branch : master
7
6
paths :
8
7
- src/counter.dev-dark.user.css
9
8
pull_request :
@@ -12,10 +11,23 @@ jobs:
12
11
build :
13
12
runs-on : ubuntu-latest
14
13
steps :
15
- - uses : actions/checkout@v4
16
- - uses : actions/setup-node@v4
14
+ - name : Checkout
15
+ uses : actions/checkout@v4
16
+
17
+ - name : Install pnpm
18
+ uses : pnpm/action-setup@v4
19
+ with :
20
+ version : 9
21
+ run_install : true
22
+
23
+ - name : Install Node.js
24
+ uses : actions/setup-node@v4
17
25
with :
18
26
node-version : " 20"
19
- - run : npm ci
20
- - run : npm run lint:all
21
- - run : npm run build
27
+ cache : pnpm
28
+
29
+ - name : Run linters
30
+ run : pnpm run lint:all
31
+
32
+ - name : Run build
33
+ run : pnpm run build
Original file line number Diff line number Diff line change @@ -24,9 +24,10 @@ Anyone and everyone is welcome to [contribute](https://github.com/VChet/counter.
24
24
25
25
1 . [ Fork] ( https://github.com/VChet/counter.dev-dark/fork ) and download this repository
26
26
1 . Install [ Node.js] ( https://nodejs.org/ )
27
- 1 . Install all dependencies using ` npm install `
27
+ 1 . Install [ pnpm] ( https://pnpm.io/ ) ` npm i pnpm -g `
28
+ 1 . Install all dependencies using ` pnpm install `
28
29
1 . Change [ mappings] ( generate.js )
29
- 1 . Generate style with ` npm run generate `
30
+ 1 . Generate style with ` pnpm run build `
30
31
1 . Make additional changes in [ main style] ( ./src/counter.dev-dark.user.css ) if needed
31
32
1 . Commit and push your changes
32
33
1 . Make a pull request
You can’t perform that action at this time.
0 commit comments