Skip to content

Commit

Permalink
ci added
Browse files Browse the repository at this point in the history
  • Loading branch information
HYP3R00T committed Jul 17, 2024
1 parent 9b8bbcd commit 8b72f9e
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 8b72f9e

Please sign in to comment.