feat: setup libs #1
@@ -10,8 +10,15 @@ jobs:
|
|||||||
prepare:
|
prepare:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
run: |
|
||||||
|
GITEA_HOST="${GITEA_HOST_IP:-172.20.0.1}"
|
||||||
|
git clone --depth 1 "http://oauth2:${GITHUB_TOKEN}@${GITEA_HOST}:3000/${{ github.repository }}.git" .
|
||||||
|
git fetch --depth 1 origin "${{ github.sha }}"
|
||||||
|
git checkout -q "${{ github.sha }}"
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
GITEA_HOST_IP: ${{ secrets.GITEA_HOST_IP }}
|
||||||
|
|
||||||
- name: Setup pnpm
|
- name: Setup pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user