Sensors detail backup #52
Workflow file for this run
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
# This workflow will do a clean install of node dependencies and build the source code of Liquid Prep App for node version 14. | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Liquid Prep CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build_web_app: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./liquid-prep-app | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "14" | |
- name: Rename sample config file | |
run: | | |
cd src | |
mv config-sample.json config.json | |
ls -l config.json | |
cd ../ | |
- name: Install node dependencies and build the project | |
run: | | |
npm install | |
npm run build-prod |