mirror of
https://github.com/community-scripts/Proxmox.git
synced 2026-02-03 19:47:30 -06:00
chore(deps): updated build script to use Node.js 21 and npm ci for better dependency management
This commit is contained in:
parent
d487b35216
commit
9603c258e4
21
.github/workflows/build-test-deploy.yml
vendored
21
.github/workflows/build-test-deploy.yml
vendored
@ -6,16 +6,25 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
container: node:20
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '21'
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: npm-${{ hashFiles('package-lock.json') }}
|
||||
restore-keys: npm-
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
run: npm ci --ignore-scripts
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"typescript.tsdk": "node_modules/typescript/lib"
|
||||
}
|
||||
5028
package-lock.json
generated
Normal file
5028
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -53,7 +53,6 @@
|
||||
"@types/react": "^18",
|
||||
"@types/react-dom": "^18",
|
||||
"eslint": "^9.9.0",
|
||||
"eslint-config-next": "14.2.11",
|
||||
"postcss": "^8",
|
||||
"prettier": "^3.2.5",
|
||||
"prettier-plugin-tailwindcss": "^0.6.5",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user