Create test file for each command, move dryrun tests there (#363) #895
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: | |
| - main | |
| tags: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: "Tests" | |
| uses: SocketDev/workflows/.github/workflows/reusable-base.yml@master | |
| with: | |
| no-lockfile: true | |
| npm-test-script: 'test-ci' | |
| node-versions: '18,20,22,23' | |
| os: 'ubuntu-latest,windows-latest' |