Skip to content

Update actions/checkout digest to 11bd719 #1475

Update actions/checkout digest to 11bd719

Update actions/checkout digest to 11bd719 #1475

Workflow file for this run

name: CI
on:
push:
branches:
- main
- "v*"
pull_request:
env:
FORCE_COLOR: 1
PNPM_VERSION: 6.15.0
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- uses: pnpm/[email protected]
with:
version: ${{ env.PNPM_VERSION }}
- uses: actions/setup-node@v3
with:
node-version: 14.x
cache: 'pnpm'
- run: pnpm install
- run: pnpm lint
test-node:
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
name: Tests (Node.js ${{ matrix.node-version }})
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- uses: pnpm/[email protected]
with:
version: ${{ env.PNPM_VERSION }}
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm install
- run: pnpm test -- --coverage
test-eslint:
strategy:
matrix:
eslint-version: [7.0.0]
name: Tests (ESLint ${{ matrix.eslint-version }})
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- uses: pnpm/[email protected]
with:
version: ${{ env.PNPM_VERSION }}
- uses: actions/setup-node@v3
with:
node-version: 14.x
# cache disabled because the extra `pnpm add` might conflict with the
# `test-node` job cache, and there is currently no way to influence
# the cache key
# cache: 'pnpm'
- run: pnpm install
- run: pnpm add --save-dev eslint@${{ matrix.eslint-version }}
- run: pnpm test