Skip to content

Trigger Workflow

Trigger Workflow #75

Workflow file for this run

name: PROD_dispatch
on: [repository_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
ref: dev
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
- name: Set npm to save exact version numbers
run: npm config set save-exact true
- name: Update juneojs package to latest version
run: npm install juneojs@latest
- name: Build to check if juneojs update broke anything
run: npm run build
- name: Commit and push if changed
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
git add -A
git diff-index --quiet HEAD || git commit -m "Update juneojs to latest version"
git push origin dev