Skip to content

Commit

Permalink
chore(vscode): release workflow
Browse files Browse the repository at this point in the history
Closes #648
  • Loading branch information
hougesen committed Feb 5, 2025
1 parent 13b4b71 commit b21d903
Show file tree
Hide file tree
Showing 9 changed files with 6,171 additions and 3,516 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release-vscode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: VS Code Extension Release

on:
push:
tags: ["*"]
workflow_dispatch:

jobs:
extension-release:
name: Release Extension
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Copy license
run: cp LICENSE mdsf-vscode/

- run: npm ci
working-directory: mdsf-vscode

- name: Publish to VSCode
working-directory: mdsf-vscode
run: npx vsce publish --pat ${{ secrets.VSCODE_MARKETPLACE_TOKEN }}

- name: Publish OpenVSX
working-directory: mdsf-vscode
run: npx ovsx publish --pat ${{ secrets.OVSX_TOKEN }}
4 changes: 2 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.github/workflows/release.yml
mdsf-vscode/pnpm-lock.yaml
mdsf-vscode/package-lock.json
mdsf/wix/main.wxs
pnpm-lock.yaml
package-lock.json
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [Unreleased](https://github.com/hougesen/mdsf/compare/v0.4.1...HEAD)

- chore(vscode): release workflow [`#672`](https://github.com/hougesen/mdsf/pull/672)
- docs(vscode): basic usage [`#671`](https://github.com/hougesen/mdsf/pull/671)
- chore(vscode): add metadata keys to package.json [`#670`](https://github.com/hougesen/mdsf/pull/670)
- build(deps-dev): bump @typescript-eslint/parser in /mdsf-vscode [`#669`](https://github.com/hougesen/mdsf/pull/669)
Expand Down
6 changes: 3 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ format:
dist init --yes

vscode-precommit:
cd mdsf-vscode && pnpm i
cd mdsf-vscode && pnpm lint:biome:fix
cd mdsf-vscode && pnpm lint:eslint:fix
cd mdsf-vscode && npm i
cd mdsf-vscode && npm run lint:biome:fix
cd mdsf-vscode && npm run lint:eslint:fix

precommit:
just vscode-precommit
Expand Down
2 changes: 1 addition & 1 deletion mdsf-vscode/.prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pnpm-lock.yaml
package-lock.json
2 changes: 1 addition & 1 deletion mdsf-vscode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This extension requires mdsf to already be installed . That can be done by follo

### Setting mdsf as default formatter

```jsonc
```json
{
// settings.json
// ...
Expand Down
Loading

0 comments on commit b21d903

Please sign in to comment.