Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/ci_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
- name: Install dependencies
run: npm ci

- name: Build for node 14 and 16
if: matrix.node-version != '12.x'
run: npm run build --if-present

- name: Build for node 12
if: matrix.node-version == '12.x'
run: npm run build:cjs && npm run build:es

- name: Run unit tests
run: npm test
Loading