Merge pull request #36 from oroneta/add-alarm-image #18
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: React Run | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install build dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y nodejs npm | |
- name: Run & Build npm | |
run: | | |
cd ./src | |
ls -la | |
export NODE_OPTIONS=--openssl-legacy-provider | |
npm i | |
npm run start & |