Skip to content

Commit

Permalink
AG-30908 clean node_modules
Browse files Browse the repository at this point in the history
Merge in ADGUARD-FILTERS/aglint from fix/AG-30908 to master

Squashed commit of the following:

commit 38915db
Author: scripthunter7 <[email protected]>
Date:   Wed Mar 6 14:52:30 2024 +0100

    clean node_modules
  • Loading branch information
scripthunter7 committed Mar 6, 2024
1 parent d048fc2 commit fa55868
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
18 changes: 16 additions & 2 deletions bamboo-specs/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ Build:
yarn pack --filename aglint.tgz
ls -laht
rm -rf node_modules
- inject-variables:
file: dist/build.txt
scope: RESULT
Expand All @@ -68,6 +66,22 @@ Build:
configuration:
selectedRepository: defaultRepository
tagName: v${bamboo.inject.version}
final-tasks:
- script:
interpreter: SHELL
scripts:
- |-
set -x
set -e
# Fix mixed logs
exec 2>&1
ls -la
echo "Size before cleanup:" && du -h | tail -n 1
rm -rf node_modules
echo "Size after cleanup:" && du -h | tail -n 1
artifacts:
- name: aglint.tgz
pattern: aglint.tgz
Expand Down
16 changes: 14 additions & 2 deletions bamboo-specs/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,22 @@ Build:
yarn check-types
yarn lint
yarn test
final-tasks:
- script:
interpreter: SHELL
scripts:
- |-
set -x
set -e
# Fix mixed logs
exec 2>&1
ls -la
echo "Size before cleanup:" && du -h | tail -n 1
rm -rf node_modules
final-tasks:
- clean
echo "Size after cleanup:" && du -h | tail -n 1
requirements:
- adg-docker: true

Expand Down

0 comments on commit fa55868

Please sign in to comment.