Skip to content

Commit

Permalink
Updated package.json and workflow YML file
Browse files Browse the repository at this point in the history
  • Loading branch information
thusarakap committed Mar 25, 2024
1 parent eb0c68f commit 5dc44b9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@ jobs:
with:
node-version: '14'

- name: Authenticate with GitHub
run: echo "${{ secrets.GH_TOKEN }}" | npm login --registry=https://npm.pkg.github.com --scope=@thusarakap --stdin

- name: Install Dependencies
run: npm install

- name: Run Tests
run: npm test

- name: Build
run: npm run build
run: npm run build

- name: Publish
run: npm publish
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,18 @@
"text-encoding": "^0.7.0"
},
"build": {
"appId": "com.CS31.soundsculpt",
"appId": "com.CS31.SoundSculpt",
"win": {
"target": "nsis"
"target": "nsis",
"icon": "resources/images/soundSculptIcon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
},
"publishConfig": {
"registry":"https://npm.pkg.github.com/thusarakap",
"access": "public"
}
}

0 comments on commit 5dc44b9

Please sign in to comment.