Skip to content

Commit

Permalink
node
Browse files Browse the repository at this point in the history
  • Loading branch information
apurvjha123 committed Nov 26, 2023
1 parent c266127 commit 9a31d09
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

on:
Expand All @@ -17,7 +14,6 @@ jobs:
strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
Expand All @@ -30,5 +26,6 @@ jobs:
- run: |
touch .env
echo "${{secrets.PROD_SECRET}}" > .env
- run: pm2 restart all
- name: Install PM2
run: npm install -g pm2
- run: pm2 restart index.js

0 comments on commit 9a31d09

Please sign in to comment.