Skip to content

Commit

Permalink
Create develop.yml (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
MinhhTien authored Jan 23, 2024
2 parents 237bbbd + 7a9a847 commit 7f96939
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: NestJS CI/CD

on:
push:
branches: [ "develop" ]

jobs:
build:
runs-on: self-hosted
strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: pm2 restart efurniture-api

0 comments on commit 7f96939

Please sign in to comment.