Skip to content

Commit

Permalink
Fix failing CI on main
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Aug 4, 2021
1 parent 6a5f51f commit 542a4f6
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -223,8 +223,21 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION_USED_FOR_DEVELOPMENT }}

- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
- name: Install Dependencies
run: npm ci

- name: Generate report
run: 'node resources/diff-npm-package.js ${{ github.event.pull_request.base.sha }} HEAD'
run: "node resources/diff-npm-package.js $BASE_COMMIT HEAD"
env:
BASE_COMMIT: ${{ github.event.pull_request.base.sha || 'HEAD~1' }}

- name: Upload generated report
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 542a4f6

Please sign in to comment.