File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 6
6
workflow_dispatch :
7
7
push :
8
8
branches : [main]
9
+ tags : [ 'v*' ]
9
10
pull_request :
10
11
branches : [main]
11
12
19
20
20
21
strategy :
21
22
matrix :
22
- node-version : [18.x, 20.x]
23
+ node-version : [18.x, 20.x, 22.x ]
23
24
# Single version should work for compilation testing
24
25
25
26
steps :
63
64
run : exit 1
64
65
65
66
publish-npm :
66
- if : ${{ github.event_name == 'push' && github. ref == 'refs/heads/main' && github.actor == 'release-please[bot]'}}
67
+ if : startsWith( github.ref, 'refs/tags/')
67
68
needs : build
68
69
environment :
69
70
name : production_feed
@@ -72,10 +73,10 @@ jobs:
72
73
- uses : actions/checkout@v4
73
74
- uses : actions/setup-node@v4
74
75
with :
75
- node-version : 20
76
+ node-version : 22
76
77
registry-url : https://registry.npmjs.org/
77
78
- run : npm ci
78
79
- run : npm run build
79
- - run : npx lerna publish from-package --yes
80
+ - run : npx lerna publish from-package --no-push -- yes
80
81
env :
81
82
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
You can’t perform that action at this time.
0 commit comments