mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
commit
0425271b43
8 changed files with 12 additions and 7 deletions
|
@ -16,7 +16,7 @@ jobs:
|
|||
- task: NodeTool@0
|
||||
displayName: 'Install Node'
|
||||
inputs:
|
||||
versionSpec: '12.x'
|
||||
versionSpec: '16.x'
|
||||
|
||||
- task: Cache@2
|
||||
displayName: 'Cache node_modules'
|
||||
|
|
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
|||
- name: Setup node environment
|
||||
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # tag=v3.5.0
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 16
|
||||
check-latest: true
|
||||
|
||||
- name: Get npm cache directory path
|
||||
|
@ -53,7 +53,7 @@ jobs:
|
|||
- name: Setup node environment
|
||||
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # tag=v3.5.0
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 16
|
||||
check-latest: true
|
||||
|
||||
- name: Get npm cache directory path
|
||||
|
@ -91,7 +91,7 @@ jobs:
|
|||
- name: Setup node environment
|
||||
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # tag=v3.5.0
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 16
|
||||
check-latest: true
|
||||
|
||||
- name: Get npm cache directory path
|
||||
|
|
1
.npmrc
1
.npmrc
|
@ -1,2 +1,3 @@
|
|||
engine-strict=true
|
||||
fund=false
|
||||
save-exact=true
|
||||
|
|
|
@ -13,7 +13,7 @@ ENV IS_DOCKER=YES
|
|||
RUN yum update -y \
|
||||
&& yum install -y epel-release \
|
||||
&& yum install -y @buildsys-build rpmdevtools git yum-plugins-core autoconf automake glibc-devel gcc-c++ make \
|
||||
&& curl -fsSL https://rpm.nodesource.com/setup_12.x | bash - \
|
||||
&& curl -fsSL https://rpm.nodesource.com/setup_16.x | bash - \
|
||||
&& yum install -y nodejs
|
||||
|
||||
# Link to build script
|
||||
|
|
|
@ -13,7 +13,7 @@ ENV IS_DOCKER=YES
|
|||
# Prepare Debian build environment
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y debhelper mmv git curl \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_12.x | bash - \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
|
||||
&& apt-get install -y nodejs
|
||||
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ ENV IS_DOCKER=YES
|
|||
# Prepare Debian build environment
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y mmv curl git \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_12.x | bash - \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
|
||||
&& apt-get install -y nodejs
|
||||
|
||||
# Link to build script
|
||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -112,6 +112,8 @@
|
|||
"worker-loader": "3.0.8"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.13.1",
|
||||
"npm": ">=8.1.2",
|
||||
"yarn": "YARN NO LONGER USED - use npm instead."
|
||||
}
|
||||
},
|
||||
|
|
|
@ -135,6 +135,8 @@
|
|||
"stylelint:scss": "stylelint --config=\".stylelintrc.scss.json\" \"src/**/*.scss\""
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.13.1",
|
||||
"npm": ">=8.1.2",
|
||||
"yarn": "YARN NO LONGER USED - use npm instead."
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue