Skip to content

Commit

Permalink
fix(ci): use same workflow as tree-sitter-php
Browse files Browse the repository at this point in the history
  • Loading branch information
claytonrcarter committed Jan 21, 2024
1 parent bce8a94 commit eb9ef97
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: Build/test
name: build/test

on:
pull_request:
branches:
- "**"
push:
branches:
- "master"

jobs:
test:
runs-on: ${{ matrix.os }}
Expand All @@ -16,10 +18,13 @@ jobs:
# Disabled windows runs. I pinky swear that this is temporary.
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 18
- uses: actions/setup-python@v4
with:
python-version: '3.12'
- run: npm install
- run: ./node_modules/.bin/tree-sitter generate
- run: ./node_modules/.bin/tree-sitter test

0 comments on commit eb9ef97

Please sign in to comment.