Skip to content

Commit

Permalink
Merge pull request #483 from nextcloud/revert-478-fix/compile-before-…
Browse files Browse the repository at this point in the history
…reuse-check

Revert "fix(reuse): compile before checking compliance"
  • Loading branch information
AndyScherzinger authored Dec 20, 2024
2 parents 84dc5bd + 62ce07a commit 7b43c75
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions workflow-templates/reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,5 @@ jobs:
with:
persist-credentials: false

- 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: REUSE Compliance Check
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5.0.0

0 comments on commit 7b43c75

Please sign in to comment.