Skip to content

Commit

Permalink
Merge pull request #3276 from ever-co/main
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
evereq authored Nov 9, 2024
2 parents 80604f8 + 4266cc1 commit 2a6e63f
Show file tree
Hide file tree
Showing 472 changed files with 27,170 additions and 15,284 deletions.
90 changes: 45 additions & 45 deletions .circleci/config.yml
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:
Expand All @@ -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
Expand Down
Loading

0 comments on commit 2a6e63f

Please sign in to comment.