Skip to content

Commit

Permalink
Add missing Node versions 22/23 to Smoke Test workflow (same as CI wo…
Browse files Browse the repository at this point in the history
…rkflow).
  • Loading branch information
DavidAnson committed Jan 18, 2025
1 parent d174eb7 commit d0cc9ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ jobs:
fail-fast: false
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
node-version: [ 18, 20 ]
node-version: [ 18, 20, 22, 23 ]

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: git config user.email "[email protected]" && git config user.name "User" && npm version 0.1.2
- run: npm pack
- run: npm exec --yes -- cpy-cli "markdownlint-cli2-*.tgz" . --rename=markdownlint-cli2.tgz
- run: npm exec --yes -- del-cli node_modules .npmrc npm-shrinkwrap.json package.json package-lock.json
- run: npm install markdownlint-cli2.tgz
- run: npm install markdownlint-cli2-0.1.2.tgz
- run: node_modules/.bin/markdownlint-cli2 README.md
- run: npm clean-install
- run: node_modules/.bin/markdownlint-cli2 README.md
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
"c8": "10.1.3",
"chalk": "5.4.1",
"cpy": "11.1.0",
"cpy-cli": "5.0.0",
"eslint": "9.18.0",
"eslint-plugin-jsdoc": "50.6.1",
"eslint-plugin-n": "17.15.1",
Expand Down

0 comments on commit d0cc9ed

Please sign in to comment.