@@ -11,30 +11,30 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
environment : npm
13
13
steps :
14
- - uses : actions/checkout@v3
15
- - uses : actions/setup-node@v3
16
- with :
17
- node-version : 20
18
- registry-url : https://registry.npmjs.org/
19
- - name : run tests
20
- run : |
21
- npm i -g @sap/cds-dk
22
- npm i
23
- npm run lint
24
- npm run test
25
- - name : get version
26
- id : package-version
27
- uses :
martinbeentjes/[email protected]
28
- - name : parse changelog
29
- id : parse-changelog
30
-
31
- with :
32
- version : ' ${{ steps.package-version.outputs.current-version }}'
33
- - name : create a GitHub release
34
- uses : ncipollo/release-action@v1
35
- with :
36
- tag : ' v${{ steps.package-version.outputs.current-version }}'
37
- body : ' ${{ steps.parse-changelog.outputs.body }}'
38
- - run : npm publish --access public
39
- env :
40
- NODE_AUTH_TOKEN : ${{secrets.npm_token}}
14
+ - uses : actions/checkout@v3
15
+ - uses : actions/setup-node@v3
16
+ with :
17
+ node-version : 20
18
+ registry-url : https://registry.npmjs.org/
19
+ - name : run tests
20
+ run : |
21
+ npm i -g @sap/cds-dk
22
+ npm i
23
+ npm run lint
24
+ npm run test
25
+ - name : get version
26
+ id : package-version
27
+ uses :
martinbeentjes/[email protected]
28
+ - name : parse changelog
29
+ id : parse-changelog
30
+
31
+ with :
32
+ version : ' ${{ steps.package-version.outputs.current-version }}'
33
+ - name : create a GitHub release
34
+ uses : ncipollo/release-action@v1
35
+ with :
36
+ tag : ' v${{ steps.package-version.outputs.current-version }}'
37
+ body : ' ${{ steps.parse-changelog.outputs.body }}'
38
+ - run : npm publish --access public
39
+ env :
40
+ NODE_AUTH_TOKEN : ${{secrets.npm_token}}
0 commit comments