Skip to content

Fix .cjs files not showing up in bundle analyzer #362

Fix .cjs files not showing up in bundle analyzer

Fix .cjs files not showing up in bundle analyzer #362

Workflow file for this run

name: main
on:
push:
branches:
- master
pull_request:
jobs:
build-and-test:
strategy:
matrix:
node: [10.x, 12.x, 14.x, 16.x]
runs-on: ubuntu-latest
name: Tests on Node.js v${{ matrix.node }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Download deps
uses: bahmutov/npm-install@v1
- name: Build sources
run: npm run build
- name: Run tests
run: npm run test
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "14.x"
- name: Download deps
uses: bahmutov/npm-install@v1
- name: Run lint
run: npm run lint