cosmos-explorer/.github/workflows/node.js.yml

25 lines
615 B
YAML
Raw Permalink Normal View History

2021-04-10 03:31:35 +00:00
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
2021-04-10 06:49:00 +00:00
name: Look CI
2021-04-10 03:31:35 +00:00
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
2021-04-10 06:49:00 +00:00
deploy:
name: Look deploy
2021-04-10 04:27:37 +00:00
runs-on: self-hosted
2021-04-10 03:31:35 +00:00
steps:
2021-04-10 06:49:00 +00:00
- name: Git Checkout master
uses: actions/checkout@master
- name: PM2 status
run: pm2 status
- name: deploy
run: cd server && npm i && npm run start