Skip to content

Commit

Permalink
modernize dev deps (native tests, ESLint 9+, drop Buble)
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Jun 27, 2024
1 parent 482289a commit 3457355
Show file tree
Hide file tree
Showing 9 changed files with 2,298 additions and 1,990 deletions.
27 changes: 9 additions & 18 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,22 @@
name: Node

on:
push:
branches: ['*']
pull_request:
branches: [master]

on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: 20

- name: Install dependencies with Yarn
run: yarn install --frozen-lockfile
- name: Install dependencies
run: npm ci

- name: Build the bundle
run: yarn run build
run: npm run build

- name: Run tests
run: yarn test
run: npm test
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ that allows you to perform queries like "all items within this bounding box" ver
(e.g. hundreds of times faster than looping over all items).
It's most commonly used in maps and data visualizations.

[![Build Status](https://github.com/mourner/rbush/workflows/Node/badge.svg?branch=master)](https://github.com/mourner/rbush/actions)
[![Build Status](https://github.com/mourner/rbush/workflows/Node/badge.svg?branch=main)](https://github.com/mourner/rbush/actions)
[![](https://img.shields.io/badge/simply-awesome-brightgreen.svg)](https://github.com/mourner/projects)

## Demos
Expand Down
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {default} from 'eslint-config-mourner';
Loading

0 comments on commit 3457355

Please sign in to comment.