add [WingetVersion] Badge #9936
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package CLI | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
push: | |
branches-ignore: | |
- 'gh-pages' | |
- 'dependabot/**' | |
# Smoke test (render a badge with the CLI) with only the package | |
# dependencies installed. | |
jobs: | |
test-package-cli: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- node: '16' | |
- node: '18' | |
- node: '20' | |
- node: '22' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node JS ${{ inputs.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: | | |
cd badge-maker | |
npm install | |
npm link | |
- name: Render a badge with the CLI | |
run: | | |
cd badge-maker | |
badge cactus grown :green @flat |