Skip to content

Commit

Permalink
Update hello-world.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
naveedkhan8067 authored Dec 10, 2023
1 parent 2f2948c commit 3e07b5b
Showing 1 changed file with 52 additions and 4 deletions.
56 changes: 52 additions & 4 deletions .github/workflows/hello-world.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
# - main

jobs:
#Existing release job commented, need to be modifyed publishing w.r.t varients
#Existing release job for npm package commented, need to be modifyed publishing w.r.t varients
# release:
# name: "publish component"
# runs-on: windows-latest
Expand Down Expand Up @@ -59,6 +59,7 @@ jobs:
# env:
# NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

#Test job to checkout several repos
test:
name: "test job"
runs-on: windows-latest
Expand All @@ -75,14 +76,61 @@ jobs:
token: ${{ secrets.ACCESS_TOKEN_GITHUB }}
path: Varient_Basic

- name: Displat Root By Dir
- name: Displat Root All Checkout Repos
run: |
dir
- name: Displat Workspace
- name: 🟢 node
uses: actions/setup-node@v3
with:
always-auth: true
node-version: '12.18.2'
scope: '@naveed235812'
registry-url: https://registry.npmjs.org

- name: Displat PLE_DEVOPS SRC
run: |
dir
working-directory: ./PLE_DEVOPS

- name: npm install
run: npm install
working-directory: ./PLE_DEVOPS/components/hello-world

- name: Prepare Varient Config
run: |
echo %GITHUB_WORKSPACE%
python .\preparevarientConfig.py
working-directory: ./PLE_DEVOPS/components/hello-world
env:
VARIENT_TYPE: WINDOWS

- name: Execute C-Preprocessor
run: |
npm install c-preprocessor -g
echo example of c-preprocessor
c-preprocessor ./src/Main.ts ./src/Main.ts
working-directory: ./PLE_DEVOPS/components/hello-world

- name: npm build
run: npm run build
working-directory: ./PLE_DEVOPS/components/hello-world

- name: Execute PLE_DEVOPS
run: node ./lib/index.js
working-directory: ./PLE_DEVOPS/components/hello-world

- name: npm install
run: npm install
working-directory: ./Varient_Basic

- name: npm build
run: npm run build
working-directory: ./Varient_Basic

- name: Execute Varient_Basic
run: node ./lib/index.js
working-directory: ./Varient_Basic

linux:
name: "Linux Varient"
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3e07b5b

Please sign in to comment.