Skip to content

Commit e76a047

Browse files
committed
manage: Added GitHub Actions workflow validate.yml
Signed-off-by: Jaid <jaid.jsx@gmail.com>
1 parent cc230a1 commit e76a047

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/validate.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Validate and autofix
2+
on:
3+
push:
4+
branches: [master]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: actions/checkout
10+
uses: actions/checkout@v1.2.0
11+
- name: actions/setup-node
12+
uses: actions/setup-node@v1.3.0
13+
with:
14+
node-version: "12.13.1"
15+
- name: npm install
16+
uses: jaid/action-npm-install@master
17+
- name: Jest
18+
uses: jaid/action-jest@master
19+
- name: Uptodater
20+
uses: jaid/action-uptodater@master
21+
with:
22+
token: ${{ secrets.GITHUB_TOKEN }}
23+
fix: "true"
24+
approve: "true"

0 commit comments

Comments
 (0)