Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing CI on main #3209

Merged
merged 2 commits into from Aug 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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