mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
Don't install twice
This commit is contained in:
parent
f61cc704c7
commit
b9eb240f05
@ -98,12 +98,12 @@ silicon_mac_task:
|
||||
image: ghcr.io/cirruslabs/macos-monterey-base:latest
|
||||
memory: 8G
|
||||
test_script:
|
||||
- sed -i -e "s/[0-9]*-dev/`date -u +%Y%m%d%H`/g" package.json
|
||||
- brew install node@16 yarn git python
|
||||
- git submodule init
|
||||
- git submodule update
|
||||
- ln -s /opt/homebrew/bin/python3 /opt/homebrew/bin/python
|
||||
- export PATH="/opt/homebrew/bin:/opt/homebrew/opt/node@16/bin:$PATH"
|
||||
- sed -i -e "s/[0-9]*-dev/`date -u +%Y%m%d%H`/g" package.json
|
||||
- yarn install || yarn install
|
||||
- yarn build
|
||||
- yarn run build:apm
|
||||
@ -136,7 +136,7 @@ intel_mac_task:
|
||||
- export PATH="/usr/local/opt/node@16/bin:/usr/local/bin/python3:$PATH"
|
||||
- git submodule init
|
||||
- git submodule update
|
||||
- yarn install || yarn install
|
||||
- sed -i -e "s/[0-9]*-dev/`date -u +%Y%m%d%H`/g" package.json
|
||||
- ln -s /usr/local/opt/python3 /usr/local/bin/python
|
||||
- arch -x86_64 npx yarn install || arch -x86_64 npx yarn install
|
||||
- arch -x86_64 npx yarn build
|
||||
|
Loading…
Reference in New Issue
Block a user