Merge pull request #424 from ably/dependabot/npm_and_yarn/demo/simple… #384
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: Dependencies updated correctly | |
on: | |
pull_request: | |
paths: | |
- package.json | |
- demo/package.json | |
- demo/api/package.json | |
push: | |
branches: | |
- main | |
paths: | |
- package.json | |
- demo/package.json | |
- demo/api/package.json | |
jobs: | |
check-all-package-lock-updated: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 20 | |
- run: npm install | |
- run: git diff --exit-code | |
- run: cd demo && npm install | |
- run: git diff --exit-code | |
- run: cd demo/api && npm install | |
- run: git diff --exit-code | |