From b9f141a2a9bc5cb7f5600a69735b26035283f38c Mon Sep 17 00:00:00 2001 From: hyp3r00t Date: Wed, 17 Jul 2024 17:04:36 +0530 Subject: [PATCH] ci fixed --- .github/workflows/ci.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fce4122..bd64bfc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,11 +1,11 @@ name: Release new package -on: +on: push: branches: - master tags: - - 'v*' - + - "v*" + jobs: build: runs-on: ubuntu-latest @@ -19,8 +19,8 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '18' - + node-version: "18" + - name: Install dependencies run: npm install @@ -29,11 +29,6 @@ jobs: git config --global user.email "rajesh@hyperoot.dev" git config --global user.name "hyp3r00t" - - name: Package VSCode extension - run: | - npm install -g vsce - vsce package - - name: Auto-increment version and tag id: versioning run: | @@ -48,6 +43,11 @@ jobs: git push origin HEAD git push origin ${{ env.new_tag }} + - name: Package VSCode extension + run: | + npm install -g vsce + vsce package + - name: Create Release id: create_release uses: ncipollo/release-action@v1 @@ -56,4 +56,4 @@ jobs: name: Release ${{ env.new_tag }} artifacts: ./*.vsix draft: false - prerelease: false \ No newline at end of file + prerelease: false