diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index cf27a46..6103cf0 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -27,11 +27,22 @@ jobs: - name: Install Node uses: actions/setup-node@v4.0.2 + - name: Register aliases for NPM command + shell: bash + run: | + rc=/tmp/rcfile + echo 'shopt -s expand_aliases' > $rc + echo 'alias npm="pnpm" ' >> $rc + - name: Install Moonwave CLI - run: pnpm i -g moonwave + run: | + source /tmp/rcfile + npm i -g moonwave - name: Build static site - run: alias npm=pnpm && moonwave build + run: | + source /tmp/rcfile + moonwave build - name: Setup GitHub pages uses: actions/configure-pages@v3