Skip to content

Commit 2f48b36

Browse files
authored
Merge pull request #202 from wojtekmaj/github-actions
Migrate to GitHub Actions
2 parents 65ab905 + b459810 commit 2f48b36

2 files changed

Lines changed: 71 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ["*"]
6+
pull_request:
7+
branches: [master]
8+
9+
env:
10+
HUSKY: 0
11+
12+
jobs:
13+
lint:
14+
name: Lint
15+
runs-on: ubuntu-24.04-arm
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v6
20+
21+
- name: Use Node.js
22+
uses: actions/setup-node@v6
23+
with:
24+
node-version: "24"
25+
cache: yarn
26+
27+
- name: Install dependencies
28+
run: yarn install --frozen-lockfile
29+
30+
- name: Run lint
31+
run: yarn lint
32+
33+
unit:
34+
name: Unit tests
35+
runs-on: ubuntu-24.04-arm
36+
37+
steps:
38+
- name: Checkout
39+
uses: actions/checkout@v6
40+
41+
- name: Use Node.js
42+
uses: actions/setup-node@v6
43+
with:
44+
node-version: "24"
45+
cache: yarn
46+
47+
- name: Install dependencies
48+
run: yarn install --frozen-lockfile
49+
50+
- name: Run tests
51+
run: yarn test
52+
53+
build:
54+
name: Build
55+
runs-on: ubuntu-24.04-arm
56+
57+
steps:
58+
- name: Checkout
59+
uses: actions/checkout@v6
60+
61+
- name: Use Node.js
62+
uses: actions/setup-node@v6
63+
with:
64+
node-version: "24"
65+
cache: yarn
66+
67+
- name: Install dependencies
68+
run: yarn install --frozen-lockfile
69+
70+
- name: Run build
71+
run: yarn build

.travis.yml

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

0 commit comments

Comments
 (0)