build(deps-dev): bump rollup-plugin-serve from 2.0.1 to 2.0.2 #51
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
timeout-minutes: 20 | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node_version: [14, 16, 18] | |
include: | |
# Active LTS + other OS | |
- os: macos-latest | |
node_version: 16 | |
- os: windows-latest | |
node_version: 16 | |
fail-fast: false | |
name: 'Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }}' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.2.2 | |
- name: Set node version to ${{ matrix.node_version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node_version }} | |
cache: pnpm | |
- name: Install deps | |
run: pnpm install | |
lint: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
name: 'Lint: node-16, ubuntu-latest' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: pnpm | |
- name: Install deps | |
run: pnpm install | |
- name: Lint | |
run: pnpm run lint |