[stable30] Fix npm audit #2573
Workflow file for this run
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
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors | |
# SPDX-License-Identifier: AGPL-3.0-or-later | |
name: Check node dist files | |
on: | |
pull_request: | |
jobs: | |
changed_files: | |
runs-on: ubuntu-latest | |
name: Check node dist files | |
permissions: | |
pull-requests: read | |
steps: | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v41 | |
with: | |
files: js/** | |
- name: Run step if any file(s) in the docs folder change | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: | | |
echo "One or more files in the js folder has changed. Do NOT commit files in there as they will be generated automatically once a pull request is merged" | |
echo "List all the files that have changed: ${{ steps.changed-files.outputs.all_changed_files }}" | |
exit 1 |