Skip to content

Commit

Permalink
Merge pull request #8
Browse files Browse the repository at this point in the history
Advace App Fixes
  • Loading branch information
naveedkhan8067 authored Jun 8, 2024
2 parents bfc2acc + 0fa8eca commit f217f4c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/Build-And-Test-Variant.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Build-And-Test-App"
name: "Build-And-Test-Advance-App"

on:
workflow_dispatch:
Expand All @@ -10,8 +10,8 @@ on:
- main

jobs:
app-advance-variant-windows:
name: "Advance Variant (Windows)"
app-advance-windows:
name: "Advance App (Windows)"
runs-on: windows-latest
steps:
- name: 📚 Checkout
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Install Dependencies
run: npm install

- name: Build Advance Variant
- name: Build Advance App
run: npm run build

- name: Execute Tests
Expand All @@ -38,11 +38,11 @@ jobs:
# - name: Execute Variant (Demo Purposes)
# run: node ./lib/index.js

- name: Package Advance Variant
- name: Package Advance App
run: npm pack
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}

- name: Publish Advance Variant
- name: Publish Advance App
uses: actions/upload-artifact@v3
with:
name: app-advance-windows
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "release-app-advance"

on:
workflow_run:
workflows: [Build-And-Test-App]
workflows: [Build-And-Test-Advance-App]
types:
- completed
branches:
Expand Down
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@naveed235812/app-advance-windows",
"version": "1.1.0",
"description": "Advance variant of test product for windows.",
"version": "1.0.1",
"description": "Advance variant of test product.",
"main": "index.js",
"bin": {
"hello-world": "./lib/index.js"
"app-advance": "./lib/index.js"
},
"author": "Naveed Ahmad",
"license": "",
Expand All @@ -19,8 +19,6 @@
"test": "mocha -r ts-node/register src/test/**.test.ts --timeout 5000"
},
"dependencies": {
"c-preprocessor": "^0.2.13",
"chalk": "^2.4.1",
"commander": "^2.19.0",
"readdirp": "^3.0.0",
"@naveed235812/hello-world-windows": "1.0.6"
Expand Down

0 comments on commit f217f4c

Please sign in to comment.