diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml new file mode 100644 index 0000000..cae7ba0 --- /dev/null +++ b/.github/workflows/cicd.yaml @@ -0,0 +1,27 @@ +name: Release and publish + +on: + push: + branches: + - main + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 16 + + - name: Install the dependencies + run: npm i + + - name: Install vsce + run: npm i -g vsce + + - name: Publish to marketplace + run: vsce publish -p $PERSONAL_ACCESS_TOKEN + env: + PERSONAL_ACCESS_TOKEN: ${{ secrets.VSCE_PAT }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 63eb52a..92ba69c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.8 + +#### Feature CI/CD github actions to deploy vscode extension to marketplace + ## 1.0.7 #### Feature Clicking history collection from sidebar now fills up the UI in main request panel diff --git a/README.md b/README.md index 5cfc088..3a8b06b 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ Simply click Open Menu button or open the Command Palette and type the command b ## 🗒 Changelog -#### Current version 1.0.7 +#### Current version 1.0.8 Visit [here](https://github.com/REST-API-Client/API-Client-VSCode-Extension/blob/main/CHANGELOG.md) for a detailed release notes diff --git a/package-lock.json b/package-lock.json index b759cf1..8c97267 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rest-api-client", - "version": "1.0.7", + "version": "1.0.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "rest-api-client", - "version": "1.0.7", + "version": "1.0.8", "license": "MIT", "dependencies": { "@monaco-editor/react": "^4.4.5", diff --git a/package.json b/package.json index 46be79c..7f18ceb 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "displayName": "REST API Client", "icon": "icons/images/icon.png", "description": "Simple and intuitive API Client made into a VSCode extension.", - "version": "1.0.7", + "version": "1.0.8", "license": "MIT", "bugs": { "url": "https://github.com/REST-API-Client/API-Client-VSCode-Extension/issues" diff --git a/src/extension.js b/src/extension.js index db49f86..6e6bfac 100644 --- a/src/extension.js +++ b/src/extension.js @@ -3,7 +3,7 @@ import vscode from "vscode"; import { COLLECTION, COMMAND, MESSAGE } from "./constants"; import ExtentionStateManager from "./ExtensionStateManger"; import MainWebViewPanel from "./MainWebViewPanel"; -import SidebarWebViewPanel from "./SideBarWebViewPanel"; +import SidebarWebViewPanel from "./SidebarWebViewPanel"; export async function activate(context) { const StateManager = new ExtentionStateManager(context); diff --git a/webview/app.js b/webview/App/index.js similarity index 69% rename from webview/app.js rename to webview/App/index.js index 847fa7a..8501bf2 100644 --- a/webview/app.js +++ b/webview/App/index.js @@ -1,6 +1,6 @@ import React from "react"; -import MainPage from "./pages/MainPage"; +import MainPage from "../pages/MainPage"; const App = () => { return ;