Skip to content

Commit fe8e6c3

Browse files
committed
ci: migrate to github action, close #299
1 parent ec75743 commit fe8e6c3

4 files changed

Lines changed: 47 additions & 29 deletions

File tree

.github/funding.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: posthtml
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/workflows/nodejs.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Actions Status
2+
on: [push, pull_request]
3+
env:
4+
CI: true
5+
6+
jobs:
7+
run:
8+
name: Node ${{ matrix.node }} on ${{ matrix.os }}
9+
runs-on: ${{ matrix.os }}
10+
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
node: [10, 12, 14]
15+
os: [ubuntu-latest, windows-latest]
16+
17+
steps:
18+
- name: Clone repository
19+
uses: actions/checkout@v2
20+
21+
- name: Set Node.js version
22+
uses: actions/setup-node@v1
23+
with:
24+
node-version: ${{ matrix.node }}
25+
26+
- name: Install npm dependencies
27+
run: npm ci
28+
29+
- name: Run tests
30+
run: npm run test
31+
32+
- name: Run Coveralls
33+
uses: coverallsapp/github-action@master
34+
with:
35+
github-token: "${{ secrets.GITHUB_TOKEN }}"

.travis.yml

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

appveyor.yml

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

0 commit comments

Comments
 (0)