Jump to Node 16 to build assets

This commit is contained in:
Jeremy Benoist 2022-05-23 08:04:16 +02:00
parent 7efaaa40c5
commit ce8369ce2d
No known key found for this signature in database
GPG Key ID: BCA73962457ACC3C
4 changed files with 4 additions and 50 deletions

View File

@ -22,7 +22,7 @@ jobs:
- name: "Install Node"
uses: actions/setup-node@v3
with:
node-version: "12"
node-version: "16"
- name: "Install dependencies with Yarn"
run: "yarn install"

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
16

View File

@ -1,47 +0,0 @@
filter:
paths:
- src/*
excluded_paths:
- 'vendor/*'
- 'app/*'
- 'var/*'
- 'web/*'
- 'src/Wallabag/*Bundle/Tests/*'
- '*Test.php'
tools:
php_cs_fixer: true
php_analyzer: true
php_mess_detector: true
php_changetracking: true
php_code_sniffer: true
php_pdepend: true
sensiolabs_security_checker: true
#external_code_coverage:
# timeout: 3600
php_code_coverage: true
php_sim: false
php_cpd: false
checks:
php:
code_rating: true
# use the new PHP analysis engine
# https://scrutinizer-ci.com/docs/tools/php/php-analyzer/guides/migrate_to_new_php_analysis
build:
environment:
php:
version: 7.4
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
dependencies:
override:
- npm install -g 'yarn'
- yarn install --force
- COMPOSER_MEMORY_LIMIT=-1 composer install -o --no-interaction --no-progress --prefer-dist

View File

@ -1,13 +1,13 @@
{
"name": "wallabag",
"version": "2.3.3",
"version": "2.5.0",
"description": "wallabag is a self hostable application for saving web pages",
"private": true,
"directories": {
"doc": "docs"
},
"engines": {
"node": ">=12"
"node": ">=16"
},
"repository": {
"type": "git",