Skip to content

Migrate to ESM

Migrate to ESM #133

Workflow file for this run

name: Build
on:
push:
branches: [master]
pull_request:
branches: ['*']
# types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- run: npm i
env:
MAXMIND_LICENSE_KEY: ${{ secrets.MAXMIND_LICENSE_KEY }}
- run: npm run format:check
- run: npm test