ci: replace checkout action with direct git clone from Gitea
This commit is contained in:
@@ -12,16 +12,14 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
run: |
|
||||||
with:
|
apk add --no-cache git
|
||||||
server-url: http://gitea:3000
|
git clone http://oauth2:${{ secrets.GIT_TOKEN }}@gitea:3000/AVTEX/XFlow.git .
|
||||||
token: ${{ secrets.GIT_TOKEN }}
|
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
cache: 'npm'
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|||||||
Reference in New Issue
Block a user