Skip to content

Commit

Permalink
ci: print lint-staged version and help text in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
iiroj committed Nov 13, 2021
1 parent e360ab6 commit 557ddf3
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/main.yml
Expand Up @@ -60,12 +60,6 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
# Print current Node.js version
- run: node --version
# Print current npm version
- run: npm --version
# Print current Git version
- run: git --version
# Install node_modules
- uses: actions/cache@v2
id: cache-node_modules
Expand All @@ -76,6 +70,16 @@ jobs:
${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
- if: steps.cache-node_modules.outputs.cache-hit != 'true'
run: npm ci
# Print current Node.js version
- run: node --version
# Print current npm version
- run: npm --version
# Print current Git version
- run: git --version
# Print lint-staged version
- run: node bin/lint-staged.js --version
# Print lint-staged help text
- run: node bin/lint-staged.js --help
# Run tests
- run: npm test
# Upload coverage artifact from Node.js LTS
Expand Down

0 comments on commit 557ddf3

Please sign in to comment.