Skip to content

refactor: convert to esm #26

refactor: convert to esm

refactor: convert to esm #26

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
types:
- opened
- reopened
- synchronize
- edited
env:
node_version: "18.x"
jobs:
test:
name: Test Module
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.node_version }}
- run: npm install
- run: npm run coverage
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
lint:
name: Lint Module
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.node_version }}
- run: npm install
- run: npm run lint
build:
name: Build Module
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.node_version }}
- run: npm install
- run: npm run build