Advance App Version 1.0.6 #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build-And-Test-Advance-App" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
app-advance-windows: | |
name: "Advance App (Windows)" | |
runs-on: windows-latest | |
steps: | |
- name: 📚 Get Repository | |
uses: actions/[email protected] | |
- name: 🟢 Install Node.js 18 | |
uses: actions/setup-node@v4 | |
with: | |
always-auth: true | |
node-version: 18 | |
scope: '@naveed235812' | |
registry-url: https://registry.npmjs.org | |
- name: Install Advance App Dependencies | |
run: npm install | |
- name: Build Advance App | |
run: npm run build | |
- name: Execute Advance App Tests | |
run: npm run test | |
# # This step was added to show the output | |
# - name: Execute Variant (Demo Purposes) | |
# run: node ./output/RunAdvanceApp.js | |
- name: Package Advance App | |
run: npm pack | |
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} | |
- name: Publish Advance App | |
uses: actions/upload-artifact@v3 | |
with: | |
name: app-advance-windows | |
path: ./naveed235812-app-advance-windows*.tgz | |
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} |