diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 379ca835..00000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: build - -on: - workflow_dispatch: - push: - pull_request: - branches: - - '**:**' # For forks - -jobs: - build: - name: build - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Setup Node - uses: actions/setup-node@v2-beta - with: - node-version: '12' - - - name: Display Node versions - run: | - node --version - npm --version - - - name: Install dependencies - run: npm install - - - name: Test corpus & parse examples - run: npm test diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ecf9e674..ca053cbc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,9 @@ -name: Build/test +name: CI on: + workflow_dispatch: + pull_request: push: - branches: - - "**" + jobs: test: runs-on: ${{ matrix.os }} @@ -17,6 +18,7 @@ jobs: node-version: 14 - run: npm install - run: npm test + test_windows: runs-on: windows-latest steps: diff --git a/README.md b/README.md index 53f34368..22d8c781 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ tree-sitter-javascript =========================== -[![Build/test](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) +[![CI Status](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) JavaScript grammar for [tree-sitter][].