File tree 5 files changed +63
-2
lines changed
5 files changed +63
-2
lines changed Original file line number Diff line number Diff line change
1
+ github : ['acelaya']
2
+ custom : ['https://acel.me/donate']
Original file line number Diff line number Diff line change
1
+ name : Publish release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' v*'
7
+
8
+ jobs :
9
+ npm-package :
10
+ runs-on : ubuntu-20.04
11
+ steps :
12
+ - name : Checkout code
13
+ uses : actions/checkout@v2
14
+ - uses : actions/setup-node@v1
15
+ with :
16
+ node-version : ' 16.x'
17
+ registry-url : ' https://registry.npmjs.org'
18
+ - run : npm ci
19
+ - run : npm version ${GITHUB_REF#refs/tags/v} --git-tag-version=false
20
+ - run : npm run build
21
+ - run : npm publish --access public
22
+ env :
23
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
24
+
25
+ github-release :
26
+ needs : ['npm-package']
27
+ runs-on : ubuntu-20.04
28
+ steps :
29
+ - name : Checkout code
30
+ uses : actions/checkout@v2
31
+ - name : Publish release
32
+ uses : docker://antonyurchenko/git-release:latest
33
+ env :
34
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
+ ALLOW_EMPTY_CHANGELOG : " true"
Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ node_modules
2
2
.idea
3
3
docker-compose.override.yml
4
4
home
5
+ dist
Original file line number Diff line number Diff line change @@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) , and this project adheres to [ Semantic Versioning] ( https://semver.org ) .
6
6
7
+ ## [ 2.0.2] - 2022-05-12
8
+ #### Added
9
+ * Added automation publishing pipeline
10
+
11
+ #### Changed
12
+ * * Nothing*
13
+
14
+ #### Deprecated
15
+ * * Nothing*
16
+
17
+ #### Removed
18
+ * * Nothing*
19
+
20
+ #### Fixed
21
+ * * Nothing*
22
+
23
+
7
24
## [ 2.0.1] - 2022.03-26
8
25
#### Added
9
26
* * Nothing*
Original file line number Diff line number Diff line change 2
2
"name" : " @shlinkio/eslint-config-js-coding-standard" ,
3
3
"version" : " 2.0.1" ,
4
4
"description" : " Coding standard used by shlink JavaScript projects" ,
5
- "main" : " index.js" ,
5
+ "main" : " dist/ index.js" ,
6
6
"repository" : {
7
7
"type" : " git" ,
8
8
"url" : " git+https://github.com/shlinkio/js-coding-standard.git"
19
19
"url" : " https://github.com/shlinkio/js-coding-standard/issues"
20
20
},
21
21
"homepage" : " https://github.com/shlinkio/js-coding-standard" ,
22
+ "scripts" : {
23
+ "build" : " mkdir -p dist && rm -rf dist/* && cp index.js dist"
24
+ },
22
25
"dependencies" : {
23
26
"@typescript-eslint/eslint-plugin" : " ^5.16.0" ,
24
27
"@typescript-eslint/parser" : " ^5.16.0" ,
31
34
"devDependencies" : {
32
35
"eslint" : " ^8.12.0" ,
33
36
"typescript" : " ^4.6.3"
34
- }
37
+ },
38
+ "files" : [
39
+ " dist"
40
+ ]
35
41
}
You can’t perform that action at this time.
0 commit comments