Skip to content

Commit

Permalink
Merge pull request #2155 from ably/chore/increase-circleci-resource-c…
Browse files Browse the repository at this point in the history
…lass

[WEB-3567] Increase CircleCI resource class
  • Loading branch information
kennethkalmer authored Mar 13, 2024
2 parents 39aef88 + 7143c0c commit e0d740b
Showing 1 changed file with 4 additions and 30 deletions.
34 changes: 4 additions & 30 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1

orbs:
node: circleci/node@5.0.2
node: circleci/node@5.2.0

parameters:
content-update:
Expand All @@ -15,29 +15,6 @@ executors:
- image: cimg/node:18.12.0

commands:
restore-yarn-cache:
steps:
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-v2-{{ .Branch }}-{{ checksum "yarn.lock" }}
- yarn-packages-v2-{{ .Branch }}-
- yarn-packages-v2-

save-yarn-cache:
steps:
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-v1-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn

yarn-install:
steps:
- run:
name: Dependencies
command: yarn install --frozen-lockfile

build-nginx:
steps:
- run:
Expand Down Expand Up @@ -67,16 +44,14 @@ jobs:
install-dependencies:
executor:
name: default
resource_class: medium+
steps:
- checkout
- restore-yarn-cache
- yarn-install
- node/install-packages:
pkg-manager: yarn
- persist_to_workspace:
root: .
paths:
- node_modules
- save-yarn-cache

install-nginx:
executor:
Expand All @@ -87,7 +62,6 @@ jobs:
test:
executor:
name: default
resource_class: medium
steps:
- checkout
- attach_workspace:
Expand All @@ -110,7 +84,7 @@ jobs:
build:
executor:
name: default
resource_class: medium+
resource_class: large
steps:
- checkout
- attach_workspace:
Expand Down

0 comments on commit e0d740b

Please sign in to comment.