Skip to content

Commit f9aa395

Browse files
authored
Create test.yml
1 parent d401e5b commit f9aa395

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
paths:
8+
- '**.html'
9+
- '**.js'
10+
- '**.json'
11+
- '**.css'
12+
- '!dist/engine/core/**'
13+
pull_request:
14+
branches:
15+
- develop
16+
paths:
17+
- '**.html'
18+
- '**.js'
19+
- '**.json'
20+
- '**.css'
21+
- '!dist/engine/core/**'
22+
23+
jobs:
24+
lint:
25+
26+
runs-on: ubuntu-latest
27+
28+
steps:
29+
- uses: actions/checkout@v1
30+
- name: Install Dependencies
31+
uses: Borales/actions-yarn@v2.0.0
32+
with:
33+
cmd: install # will run `yarn install` command
34+
- name: Run Tests
35+
uses: Borales/actions-yarn@v2.0.0
36+
with:
37+
cmd: test # will run `yarn test` command

0 commit comments

Comments
 (0)