File tree Expand file tree Collapse file tree 2 files changed +32
-1
lines changed
Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 1616 with :
1717 node-version : 20
1818 - run : npm ci
19- - run : npm install --save-dev @types/commander
2019 - run : npm run build
2120
21+ - uses : actions/upload-artifact@v3
22+ with :
23+ name : app-build
24+ path : dist
25+
2226 publish-npm :
2327 needs : build
2428 runs-on : ubuntu-latest
2832 with :
2933 node-version : 20
3034 registry-url : https://registry.npmjs.org/
35+ uses : actions/download-artifact@v3
36+ with :
37+ name : app-build
3138 - run : npm ci
3239 - run : npm publish
3340 env :
Original file line number Diff line number Diff line change 1+ # Exclude folders
2+ .github /
3+ assets /
4+ src /
5+
6+ # Exclude specific files
7+ output.json
8+ sample.tpl
9+ tsconfig.json
10+ tsup.config.ts
11+
12+ # Include the dist folder
13+ ! dist /
14+
15+ # Ignore IDE and editor files
16+ .vscode /
17+ .idea /
18+ * .iml
19+ .DS_Store
20+ Thumbs.db
21+
22+ # Ignore miscellaneous
23+ npm-debug.log *
24+ package-lock.json
You can’t perform that action at this time.
0 commit comments