Skip to content

feat: use ECMAScript modules (ESM) instead of CommonJS #334

feat: use ECMAScript modules (ESM) instead of CommonJS

feat: use ECMAScript modules (ESM) instead of CommonJS #334

name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: [ubuntu-latest]
strategy:
matrix:
node: ['18', '20']
name: Node ${{ matrix.node }} sample
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: yarn
- run: yarn boot
- run: yarn build
- run: yarn test