Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Harsh-Srivastav123 authored Mar 2, 2024
1 parent be8b622 commit d3a26ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
# # Display npm version
# - name: Display npm version
# run: npm --version
- name: Use Node.js 20.11.1
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: '20.11.1'
node-version: '16.x'

- name: stop old container
run: sudo docker container stop react-container || true
install dependencies
- name: Install dependencies
run: npm install
run: npm i
# build the react app
- name: Build
run: npm run build
Expand Down

0 comments on commit d3a26ac

Please sign in to comment.