Chore(deps): Bump @nextcloud/vue from 7.12.7 to 8.2.0 #1522
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
name: Lint | |
on: | |
push: | |
branches: | |
- main | |
- stable* | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
lint-js: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: 'package.json' | |
- name: Set up Stylelint Problem Matcher | |
uses: xt0rted/stylelint-problem-matcher@v1 | |
- name: Install Dependencies | |
run: npm ci | |
- name: lint JavaScript | |
run: make lint-js | |
- name: lint Stylesheets | |
run: make lint-css | |
- name: build JavaScript | |
run: make build-js-production | |
env: | |
CI: true | |
lint-xml: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Setup xmllint | |
run: | | |
sudo apt update | |
sudo apt install --no-install-recommends -y libxml2-utils | |
- name: Setup xmllint problem matcher | |
uses: korelstar/xmllint-problem-matcher@master | |
- name: lint XML | |
run: make lint-xml | |
lint-php: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: [min, max] | |
fail-fast: false | |
env: | |
NC_API_TAG: 'dev-master' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Determine PHP version | |
env: | |
VERSION_MINMAX: ${{ matrix.version }} | |
run: echo "PHP_VERSION=$(php tests/nextcloud-version.php --php-$VERSION_MINMAX)" >> $GITHUB_ENV | |
- name: Set up PHP ${{ env.PHP_VERSION }} | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ env.PHP_VERSION }} | |
- name: Determine minimum Nextcloud API version | |
if: matrix.version == 'min' | |
run: echo "NC_API_TAG=dev-stable$(php tests/nextcloud-version.php --appinfo)" >> $GITHUB_ENV | |
- name: Install Dependencies | |
run: | | |
composer require --dev nextcloud/ocp:$NC_API_TAG | |
composer install --prefer-dist | |
- name: Load problem matcher for php -l | |
uses: korelstar/phplint-problem-matcher@master | |
- name: lint PHP | |
run: make -k lint-php | |