File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ jobs:
1212 node-version : 16
1313 registry-url : https://registry.npmjs.org
1414 - run : npm install
15+ - run : npm run build
1516 - run : |
1617 npm install -g json && json -I -f package.json -e '
1718 this.version = "${{ github.ref }}".replace("refs/tags/", "");
1819 this.exports = "./dist/src/index.js";
1920 this.types = "dist/src/index.d.ts";
2021 '
21- - run : npm run build
2222 - run : npm publish
2323 env :
2424 NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ jobs:
1313 node-version : 16
1414 registry-url : https://registry.npmjs.org
1515 - run : npm install
16+ - run : npm run build
1617 - run : |
1718 npm install -g json && json -I -f package.json -e '
1819 this.version = "0.0.0-dev.'$(date -u +'%Y%m%d%H%M%S')'";
1920 this.exports = "./dist/src/index.js";
2021 this.types = "dist/src/index.d.ts";
2122 '
22- - run : npm run build
2323 - run : npm publish --tag dev
2424 env :
2525 NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
You can’t perform that action at this time.
0 commit comments