-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (27 loc) · 867 Bytes
/
v-next.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: v-next app CI
on:
push:
branches: ['master']
pull_request:
branches: ['master']
jobs:
build:
runs-on: self-hosted
timeout-minutes: 12
strategy:
matrix:
node-version: [20.14.0]
steps:
- uses: actions/checkout@v4
- run: git pull
- run: rush install
- run: rush build
# continue-on-error: true
- name: restart pm2
if: always()
run: pm2 restart v-next
- name: Nofity to ntfy
if: always()
run: curl -d "🚀 v-next project restart success!!!" ntfy.sh/aaron-conlon