Skip to content

Commit a8960b3

Browse files
authored
Merge pull request #4 from nventive/fix/change-branch-name
Fix cicd branch name and publisher name
2 parents 9c25852 + 892858c commit a8960b3

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

.github/workflows/ci-cd.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,46 +3,47 @@ name: CI/CD Pipeline
33
on:
44
push:
55
branches:
6-
- production-release
6+
- main
77
pull_request:
88
branches:
9-
- production-release
9+
- main
1010

1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
1414

1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
1818

1919
- name: Set up Node.js
20-
uses: actions/setup-node@v2
20+
uses: actions/setup-node@v3
2121
with:
22-
node-version: '14'
22+
node-version: '20'
2323

2424
- name: Install dependencies
2525
run: npm install
2626

2727
- name: Build the extension
28-
run: npm run build
28+
run: npm run compile
2929

3030
- name: Package the extension
3131
run: npm run package
3232

3333
deploy:
3434
runs-on: ubuntu-latest
3535
needs: build
36+
if: ${{ github.event_name == 'push' }}
3637

3738
steps:
3839
- name: Checkout code
3940
uses: actions/checkout@v2
4041

4142
- name: Upload VSIX file
42-
uses: actions/upload-artifact@v2
43+
uses: actions/upload-artifact@v3
4344
with:
4445
name: vscode-extension
45-
path: path/to/your/package.vsix
46+
path: '**/*.vsix'
4647

4748
- name: Deploy to Marketplace
4849
run: |

.vscodeignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
**/*.ts
2+
**/tsconfig.json
3+
!file.ts
4+
.gitignore
5+
.vscode/**
6+
.github/**
7+
node_modules/**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Prompt Vault extension",
44
"description": "Sync GitHub Copilot prompts, chatmodes and instructions from git repositories",
55
"version": "1.2.0",
6-
"publisher": "logient-nventive",
6+
"publisher": "logientnventive",
77
"repository": {
88
"type": "git",
99
"url": "https://github.com/nventive/PromptVault.git",

0 commit comments

Comments
 (0)