Skip to content

refactor: migration to ESM #482

refactor: migration to ESM

refactor: migration to ESM #482

Workflow file for this run

on:
push:
branches:
- master
pull_request:
types: [ assigned, opened, synchronize, reopened, labeled ]
name: ci
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [
18,
20,
lts/*
]
os: [
ubuntu-latest,
windows-latest
]
env:
OS: ${{ matrix.os }}
NODE_VERSION: ${{ matrix.node }}
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- run: git fetch --prune --unshallow
- run: git config --global user.name 'Actions'
- run: git config --global user.email '[email protected]'
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: node --version
- run: npm install --engine-strict
- run: npm test
- name: Codecov
uses: codecov/codecov-action@v4
with:
env_vars: OS, NODE_VERSION