Code Simulation: Configuration & Auto Testing #596
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: Fission - Build | |
on: | |
workflow_dispatch: {} | |
pull_request: | |
branches: [ prod, dev ] | |
jobs: | |
buildFission: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: JavaScript Setup | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- name: Install Dependencies | |
run: | | |
cd fission | |
npm install | |
- name: Build Fission | |
run: | | |
cd fission | |
npm run build && echo "Build Passed" || (echo "Build Failed" && exit 1) |