@radarlabs/s2
Version:
Node.js JavaScript and TypeScript bindings for the Google S2 geolocation library.
46 lines (41 loc) • 807 B
YAML
version: 2
dockerbuild:
steps:
- checkout
- setup_remote_docker:
docker_layer_caching: true
- run:
name: "Pull submodules"
command: |
git submodule init
git submodule sync
git submodule update
- run:
name: Install dependencies
command: |
npm install
when: on_success
- run:
name: Test
command: npm run test
when: on_success
jobs:
"node-16":
<<:
docker:
- image: circleci/node:16.5.0
"node-18":
<<:
docker:
- image: node:18.12.1
"node-20":
<<:
docker:
- image: node:20.0.0
workflows:
version: 2
build:
jobs:
- "node-16"
- "node-18"
- "node-20"