Skip to content

Commit

Permalink
Merge pull request #9 from varshapichandi30/main
Browse files Browse the repository at this point in the history
node.js build and run workflow
  • Loading branch information
technomad01 authored Sep 22, 2024
2 parents 8198704 + 4b5df16 commit 5528a17
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @hyperledger-labs/fabric-debugger-committers
27 changes: 27 additions & 0 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Plugin Build

on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [22.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install -g @vscode/vsce
- run: npm install
- run: vsce package
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,5 +179,8 @@
},
"dependencies": {
"fabric-network": "^2.2.20"
},
"publish": {
"registry": "https://npm.pkg.github.com"
}
}

0 comments on commit 5528a17

Please sign in to comment.