Skip to content

Refactor package to generators and ESM #1

Refactor package to generators and ESM

Refactor package to generators and ESM #1

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- "16"
- "*"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm run check
- run: npm run specs --coverage
- run: npm run build
- uses: codecov/codecov-action@v1
with:
name: Node.js ${{ matrix.node-version }}