Skip to content

Commit 311ada9

Browse files
author
Patrick Thomson
committed
Switch to GitHub Actions CI.
1 parent b3e7667 commit 311ada9

File tree

3 files changed

+30
-25
lines changed

3 files changed

+30
-25
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build/test
2+
on:
3+
push:
4+
branches:
5+
- "**"
6+
jobs:
7+
test:
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: true
11+
matrix:
12+
os: [macos-latest, ubuntu-latest]
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-node@v2
16+
with:
17+
node-version: 14
18+
- run: npm install
19+
- run: npm test
20+
test_windows:
21+
runs-on: windows-latest
22+
steps:
23+
- uses: actions/checkout@v2
24+
- uses: actions/setup-node@v2
25+
with:
26+
node-version: 14
27+
- run: npm install
28+
- run: npm run-script test-windows

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
tree-sitter-javascript
22
===========================
33

4-
[![Build Status](https://github.com/tree-sitter/tree-sitter-javascript/workflows/build/badge.svg)](https://github.com/tree-sitter/tree-sitter-javascript/actions?query=workflow%3Abuild)
5-
[![Build status](https://ci.appveyor.com/api/projects/status/42kwnan77rtf8144/branch/master?svg=true)](https://ci.appveyor.com/project/maxbrunsfeld/tree-sitter-javascript/branch/master)
4+
[![build](https://github.com/tree-sitter/tree-sitter-javascript/actions/workflows/ci.yml/badge.svg)](https://github.com/tree-sitter/tree-sitter-javascript/actions/workflows/ci.yml)
65

76
JavaScript grammar for [tree-sitter][].
87

@@ -11,4 +10,4 @@ JavaScript grammar for [tree-sitter][].
1110
References
1211

1312
* [The ESTree Spec](https://github.com/estree/estree)
14-
* [The ECMAScript 2015 Spec](http://www.ecma-international.org/ecma-262/6.0/)
13+
* [The ECMAScript 2015 Spec](http://www.ecma-international.org/ecma-262/6.0/)

appveyor.yml

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

0 commit comments

Comments
 (0)