chore(deps): update dependency vite to v6 (main) #985
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
# This workflow is provided via the organization template repository | |
# | |
# https://github.com/nextcloud/.github | |
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization | |
# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org> | |
# | |
# SPDX-License-Identifier: CC0-1.0 | |
name: REUSE Compliance Check | |
on: [pull_request] | |
jobs: | |
reuse-compliance-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Read package.json node and npm engines version | |
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3 | |
id: versions | |
with: | |
fallbackNode: '^20' | |
fallbackNpm: '^10' | |
- name: Set up node ${{ steps.versions.outputs.nodeVersion }} | |
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | |
with: | |
node-version: ${{ steps.versions.outputs.nodeVersion }} | |
- name: Set up npm ${{ steps.versions.outputs.npmVersion }} | |
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}' | |
- name: Install dependencies & build | |
env: | |
CYPRESS_INSTALL_BINARY: 0 | |
run: | | |
npm ci | |
npm run build --if-present | |
- name: Add changed files to git so they are checked | |
run: | | |
git add --force js/ css/ | |
- name: REUSE Compliance Check | |
uses: fsfe/reuse-action@3ae3c6bdf1257ab19397fab11fd3312144692083 # v4.0.0 |