Skip to content

ci: add workflow to publish to npm on GitHub release #20

ci: add workflow to publish to npm on GitHub release

ci: add workflow to publish to npm on GitHub release #20

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node 20
uses: actions/setup-node@v4
with:
node-version: 20.x
# --legacy-peer-deps tolerates rollup-plugin-uglify's stale rollup<2 peer
# range. Drop this once the build plugin is replaced (e.g. @rollup/plugin-terser).
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Lint
run: npm run lint