Skip to content

Commit

Permalink
Switch to rollup and github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
skeate committed Feb 8, 2024
1 parent d6b8537 commit 3a706d2
Show file tree
Hide file tree
Showing 17 changed files with 3,884 additions and 1,582 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Build and Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test & publish code coverage
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ad59c2e03af9f78977643cc86d8d3e3c6c913c427f24c6522fb6f1410c6a5aa6
with:
coverageCommand: npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
coverage
dist
types
stats.html
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion docs/examples/leaflet.timeline.js

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { type Config } from 'jest';

const config: Config = {
verbose: true,
preset: 'ts-jest',
collectCoverage: true,
testMatch: ['**/test/*_test.ts'],
testEnvironment: 'jsdom',
};

export default config;
Loading

0 comments on commit 3a706d2

Please sign in to comment.