Merge pull request #104 from parzh/dependabot/npm_and_yarn/word-wrap-… #106
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: Check version match | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
paths: | |
- package*.json | |
jobs: | |
check-version-match: | |
name: Check versions in package*.json files match | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
- name: Ensure versions in package.json and package-lock.json match | |
run: node -pe "process.exit(require('./package.json').version !== require('./package-lock.json').version);" |