Create main.yml

This commit is contained in:
Michael Mainguy 2024-03-25 14:21:49 -05:00 committed by GitHub
parent d053cb08ae
commit f01bf50a96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

21
.github/workflows/main.yml vendored Normal file
View File

@ -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