From 92d51b70d62aeca42fb94df1d2139d30bc1eda48 Mon Sep 17 00:00:00 2001 From: Minhyeok Park Date: Tue, 15 Oct 2024 15:44:56 +0900 Subject: [PATCH] fix: add common npm utils --- .gitea/workflows/deploy_site.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy_site.yml b/.gitea/workflows/deploy_site.yml index 64fef34..3c86d83 100644 --- a/.gitea/workflows/deploy_site.yml +++ b/.gitea/workflows/deploy_site.yml @@ -7,8 +7,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash - - - run: /root/.local/share/pnpm/pnpm i + - run: | + apt-get update -y + apt-get install -y npm + - run: npm i -g n && n lts + - run: npm i - run: wget https://dl.min.io/client/mc/release/linux-arm64/mc -O /tmp/mc - run: chmod +x /tmp/mc - run: /tmp/mc alias set minio http://minio-service.minio.svc.cluster.local:9000 ${{ secrets.MINIO_ACCESS_KEY }} ${{ secrets.MINIO_SECRET_KEY }}