Skip to content

Commit

Permalink
Added rollupci step in workflow to autogenerate out/compiled dir
Browse files Browse the repository at this point in the history
Signed-off-by: Akash <[email protected]>
  • Loading branch information
SkySingh04 committed Aug 20, 2024
1 parent 54dd38c commit 369e15c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 22 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:

- name: Install dependencies
run: npm install

- name: Run Rollup
run: npm run rollupci

- name: List contents of out/compiled directory (for debugging)
run: ls -R out/compiled

- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:

- name: Install dependencies
run: npm i

- name: Run Rollup
run: npm run rollupci

- name: List contents of out/compiled directory (for debugging)
run: ls -R out/compiled

- name: Install vsce
run: npm install -g @vscode/vsce
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/rollup-test.yml

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"rollup": "rollup -c -w --bundleConfigAsCjs",
"rollupci" : "rollup -c --bundleConfigAsCjs",
"watch": "tsc -watch -p ./",
"debug": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
Expand Down

0 comments on commit 369e15c

Please sign in to comment.