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 66 workflow_dispatch :
77 push :
88 branches : [main]
9+ tags : [ 'v*' ]
910 pull_request :
1011 branches : [main]
1112
1920
2021 strategy :
2122 matrix :
22- node-version : [18.x, 20.x]
23+ node-version : [18.x, 20.x, 22.x ]
2324 # Single version should work for compilation testing
2425
2526 steps :
6364 run : exit 1
6465
6566 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/')
6768 needs : build
6869 environment :
6970 name : production_feed
@@ -72,10 +73,10 @@ jobs:
7273 - uses : actions/checkout@v4
7374 - uses : actions/setup-node@v4
7475 with :
75- node-version : 20
76+ node-version : 22
7677 registry-url : https://registry.npmjs.org/
7778 - run : npm ci
7879 - run : npm run build
79- - run : npx lerna publish from-package --yes
80+ - run : npx lerna publish from-package --no-push -- yes
8081 env :
8182 NODE_AUTH_TOKEN : ${{secrets.npm_token}}
You can’t perform that action at this time.
0 commit comments