File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,13 @@ jobs:
2020 with :
2121 node-version : 20
2222 registry-url : https://registry.npmjs.org/
23+ - name : Update npm to latest
24+ run : npm install -g npm@latest
2325 - run : npm ci
2426 - name : Set version from release tag
2527 run : |
2628 VERSION="${{ github.event.release.tag_name }}"
2729 VERSION="${VERSION#v}"
2830 jq --arg v "$VERSION" '.version = $v' package.json > package.json.tmp && mv package.json.tmp package.json
2931 - run : npm publish --provenance
32+
Original file line number Diff line number Diff line change 33 "version" : " 0.0.0" ,
44 "description" : " Web tools for ESP devices" ,
55 "main" : " dist/install-button.js" ,
6- "repository" : " https://github.com/esphome/esp-web-tools" ,
6+ "repository" : {
7+ "type" : " git" ,
8+ "url" : " https://github.com/esphome/esp-web-tools"
9+ },
710 "author" : " ESPHome maintainers" ,
811 "license" : " Apache-2.0" ,
912 "scripts" : {
You can’t perform that action at this time.
0 commit comments