-
-
Notifications
You must be signed in to change notification settings - Fork 144
34 lines (28 loc) · 862 Bytes
/
rebuild.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
34
name: Build
on:
push:
paths:
- 'src/**'
branches: [main]
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.x
uses: actions/setup-node@v2
with:
node-version: '12'
cache: 'npm'
- name: Installing dependencies
run: npm install
- name: Building
run: npm run build
- name: Committing & pushing
run: |
git config --global user.name 'Jest Coverage Report bot'
git config --global user.email '[email protected]'
git commit -am "Build $(date +'%F %T')"
git push origin main