Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update example vscode extension #357

Merged
merged 7 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: '1.5.1'
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/json-extension.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: JSON language server
name: vscode-playground

on:
- push
Expand All @@ -11,7 +11,7 @@ jobs:
defaults:
run:
shell: bash
working-directory: examples/json-vscode-extension
working-directory: examples/vscode-playground

steps:
- uses: actions/checkout@v2
Expand All @@ -27,7 +27,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('examples/json-vscode-extension/package-lock.json') }}
key: ${{ runner.os }}-node-${{ hashFiles('examples/vscode-playground/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

Expand All @@ -37,7 +37,7 @@ jobs:
npm i vsce

- name: Lint
run: npx eslint client/src/*.ts
run: npx eslint src/*.ts

- name: Compile
run: npm run compile
Expand All @@ -63,15 +63,12 @@ jobs:
run: |
npx vsce ls | grep package.json
npx vsce ls | grep out/extension.js
npx vsce ls | grep server/__init__.py
npx vsce ls | grep server/__main__.py
npx vsce ls | grep server/server.py

- name: Upload VSIX
uses: actions/upload-artifact@v2
with:
name: json-extension-vsix
name: vscode-playground-vsix
# The path must be rooted from the directory GitHub Actions starts
# from, not the working-directory.
path: examples/json-vscode-extension/*.vsix
path: examples/vscode-playground/*.vsix
if-no-files-found: error
2 changes: 0 additions & 2 deletions examples/fountain-vscode-extension/.gitignore

This file was deleted.

85 changes: 0 additions & 85 deletions examples/fountain-vscode-extension/README.md

This file was deleted.

Binary file removed examples/fountain-vscode-extension/demo.png
Binary file not shown.

This file was deleted.

Loading