Skip to content

Commit 2850c39

Browse files
katpetkaKatarzynaPetka
andauthored
GHA for pull request to master (#47)
* GHA for pull request to master --------- Co-authored-by: KatarzynaPetka <petka@KatarzynaPetkas-MacBook-Pro.local>
1 parent 123deea commit 2850c39

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

.github/workflows/visual-dom-diff.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Pull request checks
2+
3+
on:
4+
pull_request:
5+
branches: [ master ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
14+
- name: Set up Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 20
18+
cache: 'npm'
19+
20+
- name: Install npm dependencies
21+
run: npm ci
22+
23+
- name: Run Prettier check
24+
run: npm run prettier
25+
26+
- name: Run TSLint
27+
run: npm run tslint
28+
29+
- name: Build and test
30+
run: npm run build

.travis.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)