-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added setting for adding empty line between elements (#177)
- Loading branch information
Showing
13 changed files
with
441 additions
and
407 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,46 @@ | ||
name: Deploy CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
deploy: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 22 | ||
|
||
- name: Setup pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
|
||
- name: Install vsce and open vsx | ||
run: | | ||
npm install -g @vscode/vsce | ||
npm install -g ovsx | ||
- name: pnpm | ||
run: pnpm install | ||
|
||
- name: VSCE Publish | ||
run: vsce publish --no-dependencies -p $env:VSCE_PAT | ||
env: | ||
VSCE_PAT: ${{ secrets.VSCE_PRETTYXML }} | ||
|
||
- name: Open VSX Publish | ||
run: npx ovsx publish -p $env:OPEN_VSX_PAT | ||
env: | ||
OPEN_VSX_PAT: ${{ secrets.OPENVSX }} | ||
deploy: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 22 | ||
|
||
- name: Setup pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
|
||
- name: Install vsce and open vsx | ||
run: | | ||
npm install -g @vscode/vsce | ||
npm install -g ovsx | ||
- name: pnpm | ||
run: pnpm install | ||
|
||
- name: VSCE Publish | ||
id: vsce | ||
run: | | ||
vsce publish --no-dependencies -p $env:VSCE_PAT | ||
$VsixName = Get-ChildItem -Filter *.vsix | Select-Object -First 1 -ExpandProperty Name | ||
"VSIX_FILENAME=$VsixName" >> $env:GITHUB_OUTPUT | ||
env: | ||
VSCE_PAT: ${{ secrets.VSCE_PRETTYXML }} | ||
|
||
- name: Open VSX Publish | ||
run: npx ovsx publish ${{ steps.vsce.outputs.VSIX_FILENAME }} -p $env:OPEN_VSX_PAT | ||
env: | ||
OPEN_VSX_PAT: ${{ secrets.OPENVSX }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.