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