File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,16 +17,16 @@ jobs:
1717 - uses : actions/checkout@v4
1818 - uses : actions/setup-node@v4
1919 with :
20- node-version : 18
20+ node-version : 20
2121 registry-url : ' https://registry.npmjs.org'
2222 cache : ' npm'
2323 - run : npm ci
2424 - run : npm run build
25-
25+
2626 # Now configure with the publish service for install.
2727 - uses : actions/setup-node@v4
2828 with :
29- node-version : 18
29+ node-version : 20
3030 registry-url : ' https://wombat-dressing-room.appspot.com/'
3131
3232 - name : Publish to NPM
3838 fi
3939 env :
4040 NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
41+
42+ - name : Point `next` tag at the stable release too
43+ if : ${{ github.event.release.prerelease == false }}
44+ run : |
45+ VERSION=$(node -p "require('./package.json').version")
46+ npm dist-tag add "@a2a-js/sdk@${VERSION}" next
47+ env :
48+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments