Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
guaj authored Apr 14, 2022
1 parent acef747 commit 982bf00
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
version: 2.1


orbs:
node: circleci/[email protected]

workflows:
my_workflow:
jobs:
build_and_test: # this can be any name you choose
docker:
- image: cimg/node:17.2.0
steps:
- checkout
- node/install-packages:
pkg-manager: npm
- run:
command: npm run test
name: Run tests
- run:
command: npm run build
name: Build app
- persist_to_workspace:
jobs:
build:
docker:
- image: cimg/base:2021.04
steps:
- checkout
- run:
name: The First Step
command: |
npm run test
echo 'This is testing'
- run:
name: The Second Step
command: |
npm run build
echo 'This is building'
- persist_to_workspace:
root: ~/covidtrackingapp
paths:
- .

0 comments on commit 982bf00

Please sign in to comment.