Skip to content

Commit 916600f

Browse files
chore: publish
1 parent 9adcf92 commit 916600f

File tree

3 files changed

+27
-19
lines changed

3 files changed

+27
-19
lines changed

.github/workflows/publish.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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 }}

.github/workflows/release.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,3 @@ jobs:
1111
id: release
1212
with:
1313
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 }}

release-please-config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"packages": {
33
"projects/ngx-intl": {
4-
"release-type": "node",
5-
"package-name": "release-please-action"
4+
"release-type": "node"
65
}
76
}
87
}

0 commit comments

Comments
 (0)