Skip to content

Commit 9df866a

Browse files
committed
Move from Travis-CI to Github Actions
1 parent b8e889d commit 9df866a

2 files changed

Lines changed: 30 additions & 26 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Node.js CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version: [12.x, 14.x, 16.x, 17.x]
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v2
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
cache: 'yarn'
25+
- name: Install dependencies
26+
run: yarn
27+
- run: yarn lint
28+
- run: yarn test --maxWorkers=$(nproc)
29+
env:
30+
FENGARICONF: '{"LUAI_MAXSTACK":100000}'

.travis.yml

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

0 commit comments

Comments
 (0)