Skip to content

chore: rollup 4 support #2

chore: rollup 4 support

chore: rollup 4 support #2

Workflow file for this run

name: Lint & Test
on:
push:
tags-ignore:
- '**'
paths-ignore:
- '**/*.md'
- LICENSE
- '**/*.gitignore'
- .editorconfig
- docs/**
pull_request:
paths-ignore:
- '**/*.md'
- LICENSE
- '**/*.gitignore'
- .editorconfig
- docs/**
jobs:
test:
name: Lint & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
# TODO: remove once rollup-plugin-dts releases a version including https://github.com/Swatinem/rollup-plugin-dts/pull/294
run: npm install -g npm && npm install --legacy-peer-deps
- name: Lint
run: npm run lint
- name: Test
run: npm run test
- name: Build
run: npm run build