File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -27,23 +27,24 @@ jobs:
2727 registry-url : https://registry.npmjs.org
2828 - name : Prepare Ubuntu
2929 run : sudo apt-get update && sudo apt-get install -y apt-file && sudo apt-file update
30- - run : npm ci
30+ - name : Install npm dependencies
31+ run : npm ci
3132 - name : Config git
3233 run : git config --global user.name "y-infra" && git config --global user.email "y-infra@yandex.ru"
33- - name : Fetch branches
34- run : git fetch --all
3534 - name : Checkout to branch
3635 run : |
3736 if git ls-remote --heads origin "$BRANCH_NAME" | grep -q "$BRANCH_NAME"; then
37+ git fetch origin ${{ env.BRANCH_NAME }}
3838 git checkout ${{ env.BRANCH_NAME }}
3939 git pull
4040 else
4141 git checkout -b ${{ env.BRANCH_NAME }}
4242 fi
43- - run : npm run resolve-ubuntu- dependencies
44- - run : git add src
43+ - name : Resolve Ubuntu dependencies
44+ run : npm run resolve-ubuntu-dependencies
4545 - name : Commit changes
4646 run : |
47+ git add src
4748 git status
4849 if git diff-index --quiet HEAD src; then
4950 echo 'No changes'
You can’t perform that action at this time.
0 commit comments