File tree 4 files changed +1519
-5
lines changed
4 files changed +1519
-5
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+
7
+ permissions :
8
+ contents : read # for checkout
9
+
10
+ jobs :
11
+ release :
12
+ name : Release
13
+ runs-on : ubuntu-latest
14
+ permissions :
15
+ contents : write # to be able to publish a GitHub release
16
+ issues : write # to be able to comment on released issues
17
+ pull-requests : write # to be able to comment on released pull requests
18
+ steps :
19
+ - name : Checkout
20
+ uses : actions/checkout@v4
21
+ - name : Pnpm Setup
22
+ uses : pnpm/action-setup@v4
23
+ with :
24
+ version : 8
25
+ - name : Setup Node.js
26
+ uses : actions/setup-node@v4
27
+ with :
28
+ node-version : " lts/*"
29
+ cache : " pnpm"
30
+ - name : Install dependencies
31
+ run : pnpm install
32
+ - name : Release
33
+ run : pnpm semantic-release
34
+ env :
35
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 12
12
logs
13
13
reports
14
14
build
15
+ dist
15
16
node_modules
16
17
npm-debug.log
17
18
sftp-config.json
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " eslint-plugin-remeda" ,
3
- "version" : " 0.0.0" ,
3
+ "version" : " 0.0.0-development " ,
4
4
"author" :
" Andrea Pontrandolfo <[email protected] >" ,
5
5
"description" : " ESLint plugin for Remeda library." ,
6
+ "type" : " commonjs" ,
6
7
"main" : " src/index.js" ,
7
8
"scripts" : {
8
9
"coveralls" : " nyc report --reporter=text-lcov | coveralls" ,
9
10
"knip" : " knip" ,
11
+ "publint" : " publint" ,
10
12
"test" : " npm run unit-test" ,
11
13
"unit-test" : " cross-env nyc mocha \" tests/**/*.js\" --reporter=dot" ,
12
- "patch" : " npm version patch -m\" update version to %s\" && git push --follow-tags" ,
13
- "minor" : " npm version minor -m\" update version to %s\" && git push --follow-tags" ,
14
- "major" : " npm version major -m\" update version to %s\" && git push --follow-tags"
14
+ "semantic-release" : " semantic-release"
15
15
},
16
16
"files" : [
17
17
" README.md" ,
42
42
"mocha" : " ^9.2.2" ,
43
43
"nyc" : " ^15.1.0" ,
44
44
"prettier" : " ^3.3.2" ,
45
+ "publint" : " ^0.2.8" ,
46
+ "semantic-release" : " ^24.0.0" ,
45
47
"typescript" : " ^5.5.2"
46
48
},
47
49
"engines" : {
48
- "node" : " >=12 "
50
+ "node" : " >=20 "
49
51
},
50
52
"keywords" : [
51
53
" eslint" ,
You can’t perform that action at this time.
0 commit comments