Fix scripts

This commit is contained in:
Maurício Szabo 2022-08-19 21:05:50 -03:00
parent e5c1cb9bc9
commit 376ac2a3b6

View File

@ -19,7 +19,7 @@ linux_task:
libnss3
xvfb
- sed -i -e "s/[0-9]*-dev/`date -u +%Y%m%d%H`/g" package.json
- yarn install install --ignore-scripts; rm -R node_modules/electron; yarn install
- yarn install --ignore-scripts; rm -R node_modules/electron; yarn install
- yarn build
- yarn run build:apm
- Xvfb :99 & DISPLAY=:99 PLAYWRIGHT_JUNIT_OUTPUT_NAME=report.xml npx playwright test --reporter=junit,list
@ -43,7 +43,7 @@ silicon_mac_task:
- brew install node@16 yarn git python
- ln -s /opt/homebrew/bin/python3 /opt/homebrew/bin/python
- export PATH="/opt/homebrew/bin:/opt/homebrew/opt/node@16/bin:$PATH"
- yarn install install --ignore-scripts; rm -R node_modules/electron; yarn install
- yarn install --ignore-scripts; rm -R node_modules/electron; yarn install
- yarn build
- yarn run build:apm
- PLAYWRIGHT_JUNIT_OUTPUT_NAME=report.xml npx playwright test --reporter=junit,list
@ -71,10 +71,10 @@ x86_mac_task:
- arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- export PATH="/usr/local/bin:$PATH"
- arch -x86_64 brew install node@16 yarn git python
- yarn install install --ignore-scripts; rm -R node_modules/electron; yarn install
- yarn install --ignore-scripts; rm -R node_modules/electron; yarn install
- ln -s /usr/local/opt/python3 /usr/local/bin/python
- export PATH="/usr/local/opt/node@16/bin:/usr/local/bin/python3:$PATH"
- arch -x86_64 yarn install install --ignore-scripts; rm -R node_modules/electron; arch -x86_64 yarn install
- arch -x86_64 yarn install --ignore-scripts; rm -R node_modules/electron; arch -x86_64 yarn install
- arch -x86_64 yarn build
- arch -x86_64 yarn run build:apm
- PLAYWRIGHT_JUNIT_OUTPUT_NAME=report.xml arch -x86_64 npx playwright test --reporter=junit,list