commit
This commit is contained in:
@@ -4,9 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
|
||||||
env:
|
|
||||||
BASH_ENV: ~/.profile
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -31,19 +28,14 @@ jobs:
|
|||||||
runs-on: homesrv
|
runs-on: homesrv
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- name: Debug PATH
|
|
||||||
run: |
|
|
||||||
whoami
|
|
||||||
echo $SHELL
|
|
||||||
echo $PATH
|
|
||||||
which node || true
|
|
||||||
|
|
||||||
- name: Load NVM and Node
|
- name: Load NVM and Node
|
||||||
shell: bash
|
|
||||||
run: |
|
run: |
|
||||||
export NVM_DIR="/root/.nvm"
|
bash -lc '
|
||||||
source "$NVM_DIR/nvm.sh"
|
export NVM_DIR="/root/.nvm"
|
||||||
node -v
|
source "$NVM_DIR/nvm.sh"
|
||||||
|
node -v
|
||||||
|
npm -v
|
||||||
|
'
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user