diff --git a/.circleci/config.yml b/.circleci/config.yml index 783761511..709c9a747 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,38 +1,26 @@ # Use the latest 2.1 version of CircleCI pipeline process engine. -# See: https://circleci.com/docs/2.0/configuration-reference -version: 2.1 +# See: https://circleci.com/docs/configuration-reference -# Define a job to be invoked later in a workflow. -# See: https://circleci.com/docs/2.0/configuration-reference/#jobs -jobs: - test: - # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. - # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor +version: 2.1 +executors: + my-custom-executor: docker: - - image: cimg/node:lts - # Add steps to the job - # See: https://circleci.com/docs/2.0/configuration-reference/#steps + - image: cimg/base:stable + auth: + # ensure you have first added these secrets + # visit app.circleci.com/settings/project/github/Dargon789/hardhat-project/environment-variables + username: $DOCKER_HUB_USER + password: $DOCKER_HUB_PASSWORD +jobs: + web3-defi-game-project-: + + executor: my-custom-executor steps: - checkout - - restore_cache: - name: Restore Yarn package cache - keys: - - yarn-packages-{{ checksum "yarn.lock" }} - - run: - name: Install dependencies - command: 'yarn --frozen-lockfile' - - save_cache: - name: Save Yarn package cache - key: yarn-packages-{{ checksum "yarn.lock" }} - paths: - - ~/.cache/yarn - - run: - name: Run tests - command: 'yarn test' + - run: | + # echo Hello, World! -# Invoke jobs via workflows -# See: https://circleci.com/docs/2.0/configuration-reference/#workflows workflows: - workflow: + my-custom-workflow: jobs: - - test + - web3-defi-game-project- diff --git a/package.json b/package.json index fda524828..fb81c0d33 100644 --- a/package.json +++ b/package.json @@ -113,3 +113,4 @@ } ] } +