Skip to content

Test stylelint v17 on CI #393

Test stylelint v17 on CI

Test stylelint v17 on CI #393

Workflow file for this run

name: CI
on:
pull_request: ~
push:
branches: [main]
jobs:
ci:
name: 'Test: Node ${{ matrix.node }} - Stylelint ${{ matrix.stylelint }}'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [22, 20]
stylelint: [17, 16]
include:
- node: 18
stylelint: 16
steps:
- name: Checkout Repo
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node: ${{ matrix.node }}
cache: pnpm
- name: Use Stylelint ${{ matrix.stylelint }}
run: pnpm upgrade stylelint@${{ matrix.stylelint }}
- name: Install
run: pnpm install
- name: Test
run: pnpm run test
- name: Lint
run: pnpm run lint