Skip to content

Commit cd39905

Browse files
KatarzynaPetkaKatarzynaPetka
authored andcommitted
GHA for pull request to master
1 parent 123deea commit cd39905

File tree

2 files changed

+37
-3
lines changed

2 files changed

+37
-3
lines changed

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

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

.travis.yml

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

0 commit comments

Comments
 (0)