From f01bf50a96a1a4db8cead698172f28a0f2af2ee0 Mon Sep 17 00:00:00 2001 From: Michael Mainguy Date: Mon, 25 Mar 2024 14:21:49 -0500 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..197c453 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: Node.js CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: self-hosted + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js 20.x + uses: actions/setup-node@v2 + with: + node-version: 20.x + - run: npm build + - run: pm2 restart immersive