Skip to content

Commit 1ca7c1d

Browse files
committed
ci: use github actions
1 parent 674680f commit 1ca7c1d

File tree

2 files changed

+28
-94
lines changed

2 files changed

+28
-94
lines changed

.circleci/config.yml

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

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: 'ci'
2+
on:
3+
push:
4+
branches:
5+
- '**'
6+
pull_request:
7+
branches:
8+
- main
9+
10+
permissions:
11+
contents: read # to fetch code (actions/checkout)
12+
13+
jobs:
14+
test:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
19+
- name: Set node version to 16
20+
uses: actions/setup-node@v2
21+
with:
22+
node-version: 16
23+
24+
- name: Install deps
25+
uses: bahmutov/npm-install@v1
26+
27+
- name: Run tests
28+
run: npm test

0 commit comments

Comments
 (0)