File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 registry-url : https://registry.npmjs.org/
3131 - run : npm ci
3232 - run : npx tsc
33- - run : cp package*.json dist/
34- - run : cp README.md dist/
35- - run : (cd dist && npm publish)
33+ - run : ./scripts/publish-package.sh
3634 env :
3735 NODE_AUTH_TOKEN : ${{secrets.npm_token}}
3836
5048 registry-url : https://npm.pkg.github.com/
5149 - run : npm ci
5250 - run : npx tsc
53- - run : cp package*.json dist/
54- - run : cp README.md dist/
55- - run : (cd dist && npm publish)
51+ - run : ./scripts/publish-package.sh
5652 env :
5753 NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 11{
22 "name" : " variant-match" ,
3- "version" : " 1.1.2 " ,
3+ "version" : " 1.1.3 " ,
44 "description" : " Brings variant match pattern to TypeScript." ,
55 "main" : " variant.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ cp package* .json dist/
4+ cp README.md dist/
5+ cp LICENSE dist/
6+ (cd dist && npm publish)
You can’t perform that action at this time.
0 commit comments