[stable5.0] Fix npm audit #7406
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: 2021-2024 Nextcloud GmbH and Nextcloud contributors | |
# SPDX-License-Identifier: MIT | |
name: Packaging | |
on: pull_request | |
jobs: | |
release-tarball: | |
runs-on: ubuntu-latest | |
name: Build release tarball | |
steps: | |
- name: Checkout | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
- name: Set up Node | |
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2 | |
with: | |
node-version: 15 | |
- name: Set up php$ | |
uses: shivammathur/setup-php@868f02c3ff1a410930ea971284c9ea175e986284 | |
with: | |
php-version: 8.0 | |
tools: composer | |
extensions: ctype,curl,dom,gd,iconv,intl,json,mbstring,openssl,posix,sqlite,xml,zip,gmp | |
coverage: none | |
- name: Install Krankerl | |
run: | | |
wget https://github.com/ChristophWurst/krankerl/releases/download/v0.14.0/krankerl_0.14.0_amd64.deb | |
sudo dpkg -i krankerl_0.14.0_amd64.deb | |
- name: Package app | |
run: krankerl package | |
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3 | |
with: | |
path: build/artifacts/calendar.tar.gz | |
if-no-files-found: error |