Skip to content

Commit 2ad18fb

Browse files
committed
circleci -> github actions
1 parent b3333ca commit 2ad18fb

File tree

2 files changed

+36
-32
lines changed

2 files changed

+36
-32
lines changed

.circleci/config.yml

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

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main, master, v2]
6+
pull_request:
7+
branches: [main, master, v2]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '18.18.0'
21+
cache: 'npm'
22+
23+
- name: Install dependencies
24+
run: npm install
25+
26+
- name: Generate country lookup
27+
run: npm run gen
28+
29+
- name: Run tests
30+
run: npm test
31+
32+
- name: Build
33+
run: npm run build
34+
35+
- name: Build demo
36+
run: npm run build-demo

0 commit comments

Comments
 (0)