Skip to content

Replace dependency rollup-plugin-terser with @rollup/plugin-terser 0.1.0 #2467

Replace dependency rollup-plugin-terser with @rollup/plugin-terser 0.1.0

Replace dependency rollup-plugin-terser with @rollup/plugin-terser 0.1.0 #2467

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Restore cache
uses: actions/cache@v3
with:
path: node_modules
key: yarn-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
- run: yarn --frozen-lockfile
- run: yarn test
- run: yarn tsd
- run: yarn lint
- name: Ensure documentation is up to date
run: yarn docs && git diff --quiet -- docs