-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3276 from ever-co/main
Release
- Loading branch information
Showing
472 changed files
with
27,170 additions
and
15,284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,53 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
node: circleci/[email protected] | ||
pulumi: pulumi/[email protected] | ||
node: circleci/[email protected] | ||
pulumi: pulumi/[email protected] | ||
|
||
aliases: | ||
- &install-node | ||
name: Install Node with NPM using NVM | ||
command: | | ||
echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV | ||
echo ' [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV | ||
nvm install v16 | ||
nvm alias default v16 | ||
echo 'export NODE_OPTIONS=--max_old_space_size=7000' >> $BASH_ENV | ||
echo 'export NG_CLI_ANALYTICS=false' >> $BASH_ENV | ||
source $BASH_ENV | ||
node --version | ||
- &install-chrome | ||
name: Install Chrome | ||
command: | | ||
sudo apt install -y libappindicator3-1 | ||
curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | ||
sudo dpkg -i google-chrome.deb | ||
sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome | ||
rm google-chrome.deb | ||
- &install-deps | ||
name: Install Global Dependencies | ||
command: | | ||
sudo rm -rf /etc/apt/sources.list.d/heroku.list | ||
sudo apt-get update | ||
sudo apt install npm | ||
sudo apt install build-essential | ||
sudo npm install --quiet node-gyp@9.3.1 -g | ||
sudo npm config set python /usr/bin/python | ||
- &install-yarn | ||
name: Install Latest Yarn | ||
command: | | ||
# remove default yarn | ||
sudo rm -rf $(dirname $(which yarn))/yarn* | ||
# download latest | ||
rm -rf ~/.yarn | ||
curl -o- -L https://yarnpkg.com/install.sh | bash | ||
echo 'export PATH="${PATH}:${HOME}/.yarn/bin:${HOME}/.config/yarn/global/node_modules/.bin"' >> $BASH_ENV | ||
source $BASH_ENV | ||
- &install-node | ||
name: Install Node with NPM using NVM | ||
command: | | ||
echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV | ||
echo ' [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV | ||
nvm install v16 | ||
nvm alias default v16 | ||
echo 'export NODE_OPTIONS=--max_old_space_size=7000' >> $BASH_ENV | ||
echo 'export NG_CLI_ANALYTICS=false' >> $BASH_ENV | ||
source $BASH_ENV | ||
node --version | ||
- &install-chrome | ||
name: Install Chrome | ||
command: | | ||
sudo apt install -y libappindicator3-1 | ||
curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | ||
sudo dpkg -i google-chrome.deb | ||
sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome | ||
rm google-chrome.deb | ||
- &install-deps | ||
name: Install Global Dependencies | ||
command: | | ||
sudo rm -rf /etc/apt/sources.list.d/heroku.list | ||
sudo apt-get update | ||
sudo apt install npm | ||
sudo apt install build-essential | ||
sudo npm install --quiet node-gyp@10.2.0 -g | ||
sudo npm config set python /usr/bin/python | ||
- &install-yarn | ||
name: Install Latest Yarn | ||
command: | | ||
# remove default yarn | ||
sudo rm -rf $(dirname $(which yarn))/yarn* | ||
# download latest | ||
rm -rf ~/.yarn | ||
curl -o- -L https://yarnpkg.com/install.sh | bash | ||
echo 'export PATH="${PATH}:${HOME}/.yarn/bin:${HOME}/.config/yarn/global/node_modules/.bin"' >> $BASH_ENV | ||
source $BASH_ENV | ||
defaults: &defaults | ||
# put here anything which is common between all jobs | ||
# we define default work dir, however almost every job redefine it | ||
working_directory: /tmp/workspace | ||
# put here anything which is common between all jobs | ||
# we define default work dir, however almost every job redefine it | ||
working_directory: /tmp/workspace | ||
|
||
jobs: | ||
say-hello: | ||
|
@@ -60,8 +60,8 @@ jobs: | |
steps: | ||
- checkout | ||
- run: | ||
name: "Say hello" | ||
command: "echo Hello, World!" | ||
name: 'Say hello' | ||
command: 'echo Hello, World!' | ||
|
||
# Orchestrate jobs using workflows | ||
# See: https://circleci.com/docs/configuration-reference/#workflows | ||
|
Oops, something went wrong.