Move node install to the top
Some checks failed
Deploy to Web Server / deploy (push) Failing after 27s

This commit is contained in:
aria 2025-05-16 23:16:02 +10:00
parent 1a1f6ea39d
commit a60d770461
Signed by: aria
SSH key fingerprint: SHA256:WqtcVnDMrv1lnUlNah5k31iywFUI/DV+5yHzCTO4Vds

View file

@ -12,14 +12,6 @@ jobs:
container:
image: code.forgejo.org/oci/debian:latest
steps:
- name: Install SSH key
uses: https://github.com/shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: aria-coffee-deploy # optional
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: fail
- name: Install pnpm
uses: https://github.com/pnpm/action-setup@v4
with:
@ -31,6 +23,15 @@ jobs:
node-version: 23.11.0
cache: 'pnpm'
- name: Install SSH key
uses: https://github.com/shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: aria-coffee-deploy # optional
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: fail
- name: Checkout
uses: actions/checkout@v4