File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Releas @rhoas/spectral-ruleset
2
+ on :
3
+ release :
4
+ types : [created]
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ permissions :
9
+ contents : read
10
+ packages : write
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - uses : actions/setup-node@v2
14
+ with :
15
+ node-version : ' 12.x'
16
+ registry-url : ' https://registry.npmjs.org'
17
+ - name : Change to spectral directory
18
+ run : cd spectral
19
+ - run : npm install
20
+ - name : Set version
21
+ run : npm version ${{ github.event.release.tag_name }}
22
+ - run : npm publish dist --access=public
23
+ env :
24
+ NODE_AUTH_TOKEN : ${{ secrets.RHOAS_NPM_TOKEN }}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @rhoas/spectral-ruleset" ,
3
- "version" : " 0.1.2 " ,
3
+ "version" : " 0.0.0 " ,
4
4
"description" : " Spectral ruleset" ,
5
5
"private" : false ,
6
6
"main" : " ruleset.yaml" ,
44
44
"url" : " https://github.com/redhat-developer/app-services-api-guidelines/issues"
45
45
},
46
46
"homepage" : " https://github.com/redhat-developer/app-services-api-guidelines#readme"
47
- }
47
+ }
You can’t perform that action at this time.
0 commit comments