Skip to content

test with node 22

test with node 22 #363

Workflow file for this run

name: Test Browser
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 22]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: sudo apt-get update && sudo apt-get install -y build-essential
- run: npm install -g @mapbox/node-pre-gyp
- run: npm install
- run: npm run test:browser