feat: setup app

This commit is contained in:
Ron de las Alas 2023-05-15 14:10:59 -04:00
commit fa7ce7a776

View file

@ -2,25 +2,25 @@
# See: https://circleci.com/docs/configuration-reference
version: 2.1
# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/configuration-reference/#jobs
jobs:
say-hello:
# Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/configuration-reference/#executor-job
orbs:
slack: circleci/slack@4.12.5
aws-s3: circleci/aws-s3@3.1.1
executors:
scratchjr-website-executor:
docker:
- image: cimg/base:stable
# Add steps to the job
# See: https://circleci.com/docs/configuration-reference/#steps
steps:
- checkout
- run:
name: "Say hello"
command: "echo Hello, World!"
# Orchestrate jobs using workflows
# See: https://circleci.com/docs/configuration-reference/#workflows
workflows:
say-hello-workflow:
- image: cimg/node:17.0.0
jobs:
- say-hello
setup_app:
executor: scratchjr-website-executor
steps:
- run:
name: Install Dependencies
command: npm install
- run:
name: List
command: ls -la
workflows:
build_and_deploy_scratchjr-website:
jobs:
- setup_app:
name: Setup App