Skip to content

Commit

Permalink
Merge pull request #1 from beefyfinance/add-apr-endpoint
Browse files Browse the repository at this point in the history
Add APR endpoint
  • Loading branch information
seguido authored May 10, 2024
2 parents a4a09f8 + 62042d9 commit 9d5c509
Show file tree
Hide file tree
Showing 9 changed files with 5,455 additions and 1,502 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches:
- main
pull_request:

jobs:
test:
strategy:
matrix:
node: ['20.x', '21.x']
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v2

- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm run test

- name: Build project
run: npm run build
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
Loading

0 comments on commit 9d5c509

Please sign in to comment.