From d857816ef5796210b428a6607f5a7f73e4b8dd4b Mon Sep 17 00:00:00 2001 From: Vincent ASTOLFI <100098145+viastolfi@users.noreply.github.com> Date: Tue, 16 Apr 2024 16:13:40 +0200 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..ffc08fa --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: maettleship CI + +on: + push: + branches: [ "main", "deployement" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: self-hosted + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js 16.x + uses: actions/setup-node@v2 + with: + node-version: 16.x + - run: npm install + - run: npm run start