Skip to content

Commit

Permalink
Update Nodeworkflow.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
cpatel321 authored Jul 20, 2024
1 parent d3d0f88 commit 5630b4a
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/Nodeworkflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,12 @@ on:
- master

jobs:
deploy:
build-node:
runs-on: ubuntu-latest
container: node:16
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Build and Deploy
run:
node app.js &
background: true
# echo "Node.js server started!"
- run: node --version
- run: npm --version
- uses: actions/checkout@v3
- run: npm install
- run: node app.js

0 comments on commit 5630b4a

Please sign in to comment.