Merge pull request #4 from 1ilit/create-index #25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
push: | |
branches: | |
- "**" | |
- "!gh-pages" | |
paths-ignore: | |
- "playground/**" | |
pull_request: | |
branches: | |
- "**" | |
- "!gh-pages" | |
paths-ignore: | |
- "playground/**" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install Dependencies | |
run: npm install | |
- name: Build parser | |
run: npm run build | |
- name: Run Tests | |
run: npm test |