diff --git a/.gitea/workflows/deplopy-dev.yaml b/.gitea/workflows/deplopy-dev.yaml index 9911855..1f498d3 100644 --- a/.gitea/workflows/deplopy-dev.yaml +++ b/.gitea/workflows/deplopy-dev.yaml @@ -18,9 +18,9 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: https://gitee.com/github-actions/setup-node@v4 with: - node-version: 20.16.0 + node-version: 18.20.3 registry-url: ${{ vars.REGISTRY_URL }} cache: 'pnpm' - name: Install deps @@ -30,7 +30,7 @@ jobs: - name: Deploy to Server uses: https://git.daoyoucloud.com/TomyJan/easingthemes-ssh-deploy@v5.1.1 env: - SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }} + SSH_PRIVATE_KEY: ${{ secrets.DEV_SERVER_SSH_KEY }} ARGS: '-rltgoDzvO --delete' SOURCE: dist REMOTE_HOST: '192.168.0.19' diff --git a/package.json b/package.json index 8c47de8..cf6facf 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "author": "", "license": "ISC", "dependencies": { - "node": "^20.16.0", + "node": "^18.20.3", "moment": "^2.30.1" }, "packageManager": "pnpm@9.7.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 42f29d3..0272c4e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^2.30.1 version: 2.30.1 node: - specifier: ^20.16.0 - version: 20.17.0 + specifier: ^18.20.3 + version: 18.20.4 packages: @@ -23,8 +23,8 @@ packages: node-bin-setup@1.1.3: resolution: {integrity: sha512-opgw9iSCAzT2+6wJOETCpeRYAQxSopqQ2z+N6BXwIMsQQ7Zj5M8MaafQY8JMlolRR6R1UXg2WmhKp0p9lSOivg==} - node@20.17.0: - resolution: {integrity: sha512-zjgqs6fjta3bWGrwCmtT42gIkupAmvdq5QerbnCgNiQHE+3HrYSXuNrTw5sxQAHG2sZGgMVCxsXQ5OXLV+dkjw==} + node@18.20.4: + resolution: {integrity: sha512-7kNnwQLq7hjLAKkku5Ig77yGmvFzriLwF83zg8BV13QEG3KGh5UGAT0O+TPK9N+AQbdf02LmFBXKbuGcHNfMLA==} engines: {npm: '>=5.0.0'} hasBin: true @@ -34,6 +34,6 @@ snapshots: node-bin-setup@1.1.3: {} - node@20.17.0: + node@18.20.4: dependencies: node-bin-setup: 1.1.3