File tree 3 files changed +27
-19
lines changed 3 files changed +27
-19
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Publish'
2
+ on :
3
+ push :
4
+ tags :
5
+ - ngx-intl-v*
6
+ jobs :
7
+ publish :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ if : ${{ steps.release.outputs.release_created }}
12
+ - uses : actions/setup-node@v3
13
+ with :
14
+ node-version-file : .nvmrc
15
+ cache : npm
16
+ cache-dependency-path : package-lock.json
17
+ if : ${{ steps.release.outputs.release_created }}
18
+ - run : npm ci
19
+ if : ${{ steps.release.outputs.release_created }}
20
+ - run : npm run build
21
+ if : ${{ steps.release.outputs.release_created }}
22
+ - uses : JS-DevTools/npm-publish@v1
23
+ with :
24
+ token : ${{ secrets.NPM_TOKEN }}
25
+ package : dist/ngx-intl/package.json
26
+ if : ${{ steps.release.outputs.release_created }}
Original file line number Diff line number Diff line change 11
11
id : release
12
12
with :
13
13
command : manifest
14
- - uses : actions/checkout@v2
15
- if : ${{ steps.release.outputs.release_created }}
16
- - uses : actions/setup-node@v3
17
- with :
18
- node-version-file : .nvmrc
19
- cache : npm
20
- cache-dependency-path : package-lock.json
21
- if : ${{ steps.release.outputs.release_created }}
22
- - run : npm ci
23
- if : ${{ steps.release.outputs.release_created }}
24
- - run : npm run build
25
- if : ${{ steps.release.outputs.release_created }}
26
- - uses : JS-DevTools/npm-publish@v1
27
- with :
28
- token : ${{ secrets.NPM_TOKEN }}
29
- package : dist/ngx-intl/package.json
30
- if : ${{ steps.release.outputs.release_created }}
Original file line number Diff line number Diff line change 1
1
{
2
2
"packages" : {
3
3
"projects/ngx-intl" : {
4
- "release-type" : " node" ,
5
- "package-name" : " release-please-action"
4
+ "release-type" : " node"
6
5
}
7
6
}
8
7
}
You can’t perform that action at this time.
0 commit comments