Skip to content

Commit

Permalink
Setup GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbosco committed Jun 22, 2023
1 parent 9f77e02 commit 315a1ef
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: typesense-js tests

on: [push, pull_request]

jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts
cache: npm
- run: npm ci
- run: npm run build
- run: npm run ci-lint
- run: npm run ci-test
- uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage/
retention-days: 1

0 comments on commit 315a1ef

Please sign in to comment.