mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Add CI job that verifies tests pass when using pnpm (vs. npm).
This commit is contained in:
parent
df33933fe5
commit
795eac22de
1 changed files with 18 additions and 1 deletions
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
|
|
@ -11,7 +11,6 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
|
|
@ -30,3 +29,21 @@ jobs:
|
|||
run: npm install --no-package-lock
|
||||
- name: Run CI Tests
|
||||
run: npm run ci
|
||||
|
||||
pnpm:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Use pnpm latest
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: latest
|
||||
- name: Use Node.js latest
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: latest
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
- name: Run CI Tests
|
||||
run: npm test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue