Skip to content

Update dependency cosmiconfig to v10 #620

Update dependency cosmiconfig to v10

Update dependency cosmiconfig to v10 #620

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
# Least privilege: this workflow only needs to read the repository.
permissions:
contents: read
# Cancel superseded runs on the same ref (e.g. rapid pushes to a PR).
concurrency:
group: test-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20, 22, 24 ]
steps:
- uses: actions/checkout@v7
# pnpm version is taken from the "packageManager" field in package.json.
- uses: pnpm/action-setup@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Test
run: pnpm test