Skip to content

Update README.md

Update README.md #5

Workflow file for this run

name: Test React App
on:
push:
branches:
- master
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Code
uses: actions/checkout@v3
- name: Install Node v18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install
run: npm install
- name: Test
run: npm run test
build:
needs: test
runs-on: ubuntu-latest
steps:
- name: Code
uses: actions/checkout@v3
- name: Install Node v18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install
run: npm install
- name: Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: npm run build
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Code
uses: actions/checkout@v3
- name: Install Node v18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install
run: npm install
- name: Build 🔧
run: npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build # The folder the action should deploy.
branch: gh-pages