Skip to content

🚑 fix: incorrect main entry file path #42

🚑 fix: incorrect main entry file path

🚑 fix: incorrect main entry file path #42

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install --no-package-lock
- run: npm test
- name: Check importing in ESM & CJS works as expected
run: |
npm run build
cd test/test-app
npm install
node index.mjs
node index.cjs