Skip to content

Commit 48e41ab

Browse files
committed
ARTESCA-6419: add tests workflows for build and syntax checks
1 parent 2eeae6d commit 48e41ab

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master/**'
7+
- 'feature/**'
8+
- 'documentation/**'
9+
- 'improvement/**'
10+
- 'bugfix/**'
11+
- 'w/**'
12+
- 'q/**'
13+
- 'hotfix/**'
14+
- 'task/**'
15+
- 'release/**'
16+
- 'main'
17+
18+
jobs:
19+
tests:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v3
24+
- name: Install deps
25+
run: sudo apt-get update -q
26+
- uses: actions/setup-node@v3
27+
with:
28+
node-version: '16'
29+
- name: Install Yarn
30+
run: npm install -g yarn
31+
- name: install dependencies
32+
run: yarn install --frozen-lockfile
33+
- name: run lint
34+
run: yarn run eslint
35+
- name: run build
36+
run: yarn build

0 commit comments

Comments
 (0)