-
Notifications
You must be signed in to change notification settings - Fork 37
44 lines (39 loc) · 973 Bytes
/
build.yaml
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
34
35
36
37
38
39
40
41
42
43
44
name: Build & Publish
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install Dependencies
run: |
yarn install --frozen-lockfile;
- name: Test
run: |
echo "Grafana Boom Table plugin - Test";
yarn test;
- name: Build
run: |
echo "Grafana Boom Table plugin - Build";
yarn build;
- name: Deploy
run: |
echo "Grafana Boom Table plugin - Deploy";
echo $(date) > dist/LAST_UPDATED;
git config --global user.email "[email protected]";
git config --global user.name "Github Actions";
git add --force dist/
git commit -m "Build by Github Actions"
git push
git status