Skip to content

Commit

Permalink
direct export from import
Browse files Browse the repository at this point in the history
  • Loading branch information
wuriyanto48 committed Jan 10, 2023
1 parent 2b4998c commit 9d6c4d4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,27 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 15.x, 16.x]
node-version: [14.x, 15.x, 16.x]

steps:
- uses: actions/checkout@v2
with:
ref: master

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install Yarn
run: npm install -g npm@latest yarn@latest
- name: Install dep

- name: Install Dependencies
run: yarn

- name: build types
run: yarn build:types

- name: Get sample files
run: |-
mkdir tmp \
Expand Down
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
const v = require('./lib/validator');

module.exports = v;
module.exports = require('./lib/validator');

0 comments on commit 9d6c4d4

Please sign in to comment.