Skip to content

Commit

Permalink
Merge pull request #1 from pineapplemachine/23-10-28-tlc
Browse files Browse the repository at this point in the history
Convert library to TypeScript, improve docs, change from Travis CI to GitHub actions, general tidying up
  • Loading branch information
pineapplemachine committed Oct 28, 2023
2 parents 060c7b6 + ad453b0 commit 9dc5213
Show file tree
Hide file tree
Showing 12 changed files with 5,744 additions and 3,591 deletions.
10 changes: 10 additions & 0 deletions .gitattributes
@@ -0,0 +1,10 @@
# Set all files to have LF line endings
* text eol=lf
*.txt text
*.json text
*.yaml text
*.yml text
*.md text
*.html text
*.js text
*.ts text
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,24 @@
name: SortedArray Tests
run-name: ${{ github.actor }} is running SortedArray tests
on:
push:
branches: [master]
pull_request:
types: [opened, reopened, synchronize]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v3
- name: use Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
- run: npm install
- run: npm run test
- run: npm run coverage-lcov
- name: coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
@@ -1,3 +1,6 @@
coverage/*
dist/*

# Logs
logs
*.log
Expand Down

0 comments on commit 9dc5213

Please sign in to comment.