Skip to content

fix: require from module's root returns an empty object. #43

fix: require from module's root returns an empty object.

fix: require from module's root returns an empty object. #43

Workflow file for this run

name: Pull request workflow
on: pull_request
jobs:
lint:
name: Find linting problems in your JavaScript
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install node_modules
run: yarn
- name: Run ESLint check
run: yarn run lint
test:
name: Running unit tests
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install node_modules
run: yarn
- name: Build
run: yarn run build
- name: Run tests
run: yarn run test