Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put the shell code in separate files #181

Merged
merged 5 commits into from
Nov 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 12 additions & 27 deletions .github/workflows/clean_tree.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,22 @@ jobs:
run: npm install -g yarn
- name: make sure package.lock does not exist
run: rm -f package-lock.json
- name: Check Tree if package-lock.json file was existing and removed
run: |
if [[ -n $(git status -s) ]]; then
echo "ERROR: tree is dirty after removing package-lock.json file"
git status
exit 1
else
echo "Working tree is clean."
fi
- name: Git Check Clean Tree
uses: ArkadiK94/[email protected]
with:
error-reason: "removing package-lock.json file"
- name: Install dependencies
run: yarn
- name: Check Tree after yarn
run: |
if [[ -n $(git status -s) ]]; then
echo "ERROR: tree is dirty after yarn"
git status
exit 1
else
echo "Working tree is clean."
fi
- name: Git Check Clean Tree
uses: ArkadiK94/[email protected]
with:
error-reason: "yarn"
- name: Build
run: yarn build
- name: Check Tree after build
run: |
if [[ -n $(git status -s) ]]; then
echo "ERROR: tree is dirty after yarn build"
git status
exit 1
else
echo "Working tree is clean."
fi
- name: Git Check Clean Tree
uses: ArkadiK94/[email protected]
with:
error-reason: "yarn build"
- name: Clean up
if: always()
run: npm uninstall -g yarn
Loading