From 8b72f9ee00677720f58d2639bca93483739d5374 Mon Sep 17 00:00:00 2001 From: hyp3r00t Date: Wed, 17 Jul 2024 12:22:39 +0530 Subject: [PATCH] ci added --- .github/workflows/ci.yml | 41 ++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f0485fa --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,41 @@ +name: Release new package +on: + push: + branches: + - master + tags: + - 'v*' + workflow_run: + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '18' + + - name: Install dependencies + run: npm install + + - name: Package VSCode extension + run: | + npm install -g vsce + vsce package + + - name: Create Release + id: create_release + uses: ncipollo/release-action@v1 + with: + tag: ${{ github.ref }} + name: Release ${{ github.ref }} + assets: ./*.vsix + draft: false + prerelease: false \ No newline at end of file diff --git a/package.json b/package.json index 7c0483d..b148980 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "settings-organizer", "displayName": "Settings Organizer", - "description": "Settings Organizer keeps your VSCode settings.json file neat and organized with a single command. Categorize settings effortlessly for a clean and efficient workspace!", + "description": "Automatically organize and tidy up your VSCode settings.json file.", "version": "0.0.5", "publisher": "hyperoot", "publishConfig": {