File tree Expand file tree Collapse file tree 3 files changed +33
-10
lines changed
Expand file tree Collapse file tree 3 files changed +33
-10
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags : ['*']
6+
7+ jobs :
8+ publish :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Checkout code
13+ uses : actions/checkout@v2
14+
15+ - uses : actions/setup-node@v2
16+ with :
17+ node-version : " 22"
18+ registry-url : " https://registry.npmjs.org"
19+
20+ - name : Install environment
21+ run : npm ci
22+
23+ - name : Prepare for release
24+ run : npm run prepare
25+
26+ - name : Publish new version to NPM
27+ id : publish-to-npm
28+ run : |
29+ echo "publishing"
30+ npm publish --provenance --access public
31+ env :
32+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 5353 run : |
5454 npm version patch -m "Patch to %s because downstream-browsers.json changed"
5555 git push && git push --tags
56-
57- - name : Publish new version to NPM
58- if : steps.tag-release.outcome == 'success'
59- id : publish-to-npm
60- run : |
61- echo "publishing"
62- npm publish --provenance --access public
63- env :
64- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 3030 "typescript" : " ^5.7.2"
3131 },
3232 "repository" : " web-platform-dx/baseline-browser-mapping"
33- }
33+ }
You can’t perform that action at this time.
0 commit comments