Skip to content

Commit

Permalink
AG-30908 clean node_modules
Browse files Browse the repository at this point in the history
Merge in EXTENSIONS/extended-css from fix/AG-30908 to master

Squashed commit of the following:

commit b71e819
Author: Stanislav Atroschenko <[email protected]>
Date:   Wed Mar 6 16:38:47 2024 +0300

    AG-30908 clean node_modules
  • Loading branch information
stanislav-atr authored and maximtop committed Mar 11, 2024
1 parent 34cf03e commit fd6c3bc
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 5 deletions.
18 changes: 16 additions & 2 deletions bamboo-specs/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ Build:
yarn pack --filename extended-css.tgz
ls -la
rm -rf node_modules
- inject-variables:
file: dist/build.txt
scope: RESULT
Expand All @@ -54,6 +52,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: extended-css.tgz
location: ./
Expand Down
19 changes: 16 additions & 3 deletions bamboo-specs/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,29 @@ Build:
yarn test
yarn build
rm -rf node_modules
environment: BROWSERSTACK_USER="${bamboo.browserstackUser}" \
BROWSERSTACK_KEY="${bamboo.browserstackPassword}"
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: extended-css.js
location: dist
pattern: extended-css.js
required: true
final-tasks:
- clean
requirements:
- adg-docker: 'true'

Expand Down

0 comments on commit fd6c3bc

Please sign in to comment.