Skip to content

Refactor package to generators and ESM #2

Refactor package to generators and ESM

Refactor package to generators and ESM #2

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 test
- uses: codecov/codecov-action@v1
with:
name: Node.js ${{ matrix.node-version }}