File tree 1 file changed +0
-5
lines changed
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -17,20 +17,17 @@ jobs:
17
17
18
18
# The logic below handles the npm publication:
19
19
- name : Checkout Repository
20
- if : ${{ steps.release.outputs.releases_created }}
21
20
uses : actions/checkout@v3
22
21
with :
23
22
fetch-depth : 0
24
23
25
24
- name : Setup Node
26
25
uses : actions/setup-node@v3
27
- if : ${{ steps.release.outputs.releases_created }}
28
26
with :
29
27
node-version : 14
30
28
registry-url : ' https://registry.npmjs.org'
31
29
32
30
- name : Cache Dependencies
33
- if : ${{ steps.release.outputs.releases_created }}
34
31
uses : actions/cache@v3
35
32
with :
36
33
path : |
45
42
key : release-${{ runner.os }}-${{ matrix.container }}-${{ hashFiles('**/package.json') }}
46
43
47
44
- name : Build Packages
48
- if : ${{ steps.release.outputs.releases_created }}
49
45
run : |
50
46
npm install
51
47
npx lerna bootstrap --no-ci
54
50
# need to publish all unpublished versions to npm here
55
51
# See: https://github.com/lerna/lerna/tree/main/commands/publish#bump-from-package
56
52
- name : Publish to npm
57
- if : ${{ steps.release.outputs.releases_created }}
58
53
env :
59
54
NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
60
55
run : npx lerna publish from-package --no-push --no-private --no-git-tag-version --no-verify-access --yes
You can’t perform that action at this time.
0 commit comments