Skip to content

Commit 5528a17

Browse files
authored
Merge pull request #9 from varshapichandi30/main
node.js build and run workflow
2 parents 8198704 + 4b5df16 commit 5528a17

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @hyperledger-labs/fabric-debugger-committers

.github/workflows/build-publish.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Plugin Build
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ "main" ]
7+
pull_request:
8+
branches: [ "main" ]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version: [22.x]
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
cache: 'npm'
25+
- run: npm install -g @vscode/vsce
26+
- run: npm install
27+
- run: vsce package

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,5 +179,8 @@
179179
},
180180
"dependencies": {
181181
"fabric-network": "^2.2.20"
182+
},
183+
"publish": {
184+
"registry": "https://npm.pkg.github.com"
182185
}
183186
}

0 commit comments

Comments
 (0)