summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/api-integration-tests.yml6
-rw-r--r--.github/workflows/api-php-tests.yml2
-rw-r--r--.github/workflows/lint.yml52
3 files changed, 54 insertions, 6 deletions
diff --git a/.github/workflows/api-integration-tests.yml b/.github/workflows/api-integration-tests.yml
index 3ad0d61f8..bf22f2501 100644
--- a/.github/workflows/api-integration-tests.yml
+++ b/.github/workflows/api-integration-tests.yml
@@ -29,7 +29,7 @@ jobs:
strategy:
matrix:
php-versions: ['8.0', '8.1']
- nextcloud: ['stable26', 'stable27']
+ nextcloud: ['stable27']
database: ['sqlite', 'pgsql', 'mysql']
experimental: [false]
include:
@@ -41,10 +41,6 @@ jobs:
nextcloud: pre-release
database: sqlite
experimental: true
- - php-versions: 8.2
- nextcloud: stable26
- database: sqlite
- experimental: false
steps:
- name: Checkout
uses: actions/checkout@v4
diff --git a/.github/workflows/api-php-tests.yml b/.github/workflows/api-php-tests.yml
index fbb3a8824..2723e14ea 100644
--- a/.github/workflows/api-php-tests.yml
+++ b/.github/workflows/api-php-tests.yml
@@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
php-versions: ['8.1']
- nextcloud: ['stable26', 'stable27']
+ nextcloud: ['stable27']
database: ['sqlite']
experimental: [false]
codecoverage: [false]
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
new file mode 100644
index 000000000..352aea869
--- /dev/null
+++ b/.github/workflows/lint.yml
@@ -0,0 +1,52 @@
+name: Lint
+
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+
+jobs:
+ eslint:
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-version: [16.x]
+
+ name: eslint node${{ matrix.node-versions }}
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Set up node ${{ matrix.node-versions }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-versions }}
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Lint
+ run: npm run lint
+
+ stylelint:
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-version: [16.x]
+
+ name: stylelint node${{ matrix.node-versions }}
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Set up node ${{ matrix.node-versions }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-versions }}
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Lint
+ run: npm run stylelint