Update and rename react_ci.yml to react-ci-last.yml #1
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 is a basic workflow to help you get started with Actions | |
name: CI-CD | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup node | |
uses: actions/setup-node@master | |
# install applicaion dependencies | |
- name: Install dependencies | |
run: | | |
npm install --force | |
# build and test the apps | |
- name: build | |
run: | | |
npm run build | |
npm test |