Skip to content

Use Monti Instead of Kadira #95

Use Monti Instead of Kadira

Use Monti Instead of Kadira #95

Workflow file for this run

name: Node.js Lint & Test
on:
push:
branches:
- master
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- run: npm ci
- run: npm run lint
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- run: npm ci
- run: npm run build
- name: upload dist
uses: actions/upload-artifact@v3
with:
name: dist
path: dist
test:
needs: build
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
node-version: [8, 10, 12, 14, 16, 18, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- uses: actions/download-artifact@v3
with:
name: dist
path: dist
- run: npm install
- run: npm run test:dist