From 10eb3d9c8d39a8a1dadf5fe5a22e07b8dc7b4947 Mon Sep 17 00:00:00 2001 From: Bokuan Li Date: Wed, 11 Mar 2026 00:39:59 -0400 Subject: [PATCH] Updated the compile workflow. --- .gitea/workflows/compile.yaml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/compile.yaml b/.gitea/workflows/compile.yaml index cf0aae0..a6f9a72 100644 --- a/.gitea/workflows/compile.yaml +++ b/.gitea/workflows/compile.yaml @@ -1,22 +1,13 @@ name: Compile Project run-name: Compile the project using spec. on: [push] - jobs: Compile: runs-on: ubuntu-latest steps: - name: Check out repository code uses: actions/checkout@v4 - - name: Debug - run: ls /usr/local/bin/nvm-bin - env: - PATH: /usr/local/bin/nvm-bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin - - name: Debug3 - run: | - ls -la /usr/local/lib/node_modules/spec/dist/bin/cli.js - head -1 /usr/local/lib/node_modules/spec/dist/bin/cli.js + - name: Add to PATH + run: echo "/usr/local/bin/nvm-bin" >> $GITHUB_PATH - name: Compile Website - run: | - export PATH=/usr/local/bin/nvm-bin:$PATH - spec compile --all + run: spec compile --all \ No newline at end of file