chore(deps): update dependency commander to v14.0.1 #16
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| tags: | |
| - '!**' | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-and-build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node: [22] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js ${{ matrix.node }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Install dependencies | |
| run: | | |
| if [ -f package-lock.json ]; then | |
| echo "package-lock.json found, using 'npm ci'" | |
| npm ci | |
| else | |
| echo "package-lock.json not found, using 'npm install'" | |
| npm install | |
| fi | |
| - name: Run test | |
| run: npm test | |
| - name: Run build | |
| run: npm run build |