ci: test
Some checks failed
Build and deploy to dev server / Deploy (push) Failing after 19s

This commit is contained in:
TomyJan 2024-09-04 14:52:06 +08:00
parent 325882c6a9
commit 07bbeca4f2
3 changed files with 9 additions and 9 deletions

View File

@ -18,9 +18,9 @@ jobs:
- name: Setup pnpm - name: Setup pnpm
uses: pnpm/action-setup@v4 uses: pnpm/action-setup@v4
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: https://gitee.com/github-actions/setup-node@v4
with: with:
node-version: 20.16.0 node-version: 18.20.3
registry-url: ${{ vars.REGISTRY_URL }} registry-url: ${{ vars.REGISTRY_URL }}
cache: 'pnpm' cache: 'pnpm'
- name: Install deps - name: Install deps
@ -30,7 +30,7 @@ jobs:
- name: Deploy to Server - name: Deploy to Server
uses: https://git.daoyoucloud.com/TomyJan/easingthemes-ssh-deploy@v5.1.1 uses: https://git.daoyoucloud.com/TomyJan/easingthemes-ssh-deploy@v5.1.1
env: env:
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }} SSH_PRIVATE_KEY: ${{ secrets.DEV_SERVER_SSH_KEY }}
ARGS: '-rltgoDzvO --delete' ARGS: '-rltgoDzvO --delete'
SOURCE: dist SOURCE: dist
REMOTE_HOST: '192.168.0.19' REMOTE_HOST: '192.168.0.19'

View File

@ -11,7 +11,7 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"node": "^20.16.0", "node": "^18.20.3",
"moment": "^2.30.1" "moment": "^2.30.1"
}, },
"packageManager": "pnpm@9.7.0" "packageManager": "pnpm@9.7.0"

View File

@ -12,8 +12,8 @@ importers:
specifier: ^2.30.1 specifier: ^2.30.1
version: 2.30.1 version: 2.30.1
node: node:
specifier: ^20.16.0 specifier: ^18.20.3
version: 20.17.0 version: 18.20.4
packages: packages:
@ -23,8 +23,8 @@ packages:
node-bin-setup@1.1.3: node-bin-setup@1.1.3:
resolution: {integrity: sha512-opgw9iSCAzT2+6wJOETCpeRYAQxSopqQ2z+N6BXwIMsQQ7Zj5M8MaafQY8JMlolRR6R1UXg2WmhKp0p9lSOivg==} resolution: {integrity: sha512-opgw9iSCAzT2+6wJOETCpeRYAQxSopqQ2z+N6BXwIMsQQ7Zj5M8MaafQY8JMlolRR6R1UXg2WmhKp0p9lSOivg==}
node@20.17.0: node@18.20.4:
resolution: {integrity: sha512-zjgqs6fjta3bWGrwCmtT42gIkupAmvdq5QerbnCgNiQHE+3HrYSXuNrTw5sxQAHG2sZGgMVCxsXQ5OXLV+dkjw==} resolution: {integrity: sha512-7kNnwQLq7hjLAKkku5Ig77yGmvFzriLwF83zg8BV13QEG3KGh5UGAT0O+TPK9N+AQbdf02LmFBXKbuGcHNfMLA==}
engines: {npm: '>=5.0.0'} engines: {npm: '>=5.0.0'}
hasBin: true hasBin: true
@ -34,6 +34,6 @@ snapshots:
node-bin-setup@1.1.3: {} node-bin-setup@1.1.3: {}
node@20.17.0: node@18.20.4:
dependencies: dependencies:
node-bin-setup: 1.1.3 node-bin-setup: 1.1.3