forked from guaj/covidtrackingapp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
- . | ||
|