mirror of
https://github.com/mourner/flatbush.git
synced 2025-12-08 17:36:26 +00:00
32 lines
553 B
YAML
32 lines
553 B
YAML
name: Node
|
|
|
|
on:
|
|
push:
|
|
branches: ['*']
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [10.x, 12.x]
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup Node ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: Install dependencies
|
|
run: npm install
|
|
|
|
- name: Build the bundle
|
|
run: npm run build
|
|
|
|
- name: Run tests
|
|
run: npm test
|