Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
fix: cicd commands
Browse files Browse the repository at this point in the history
  • Loading branch information
arantespp committed Mar 10, 2022
1 parent 4485f9a commit 7f62c7c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions cicd/commands/main
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
yarn build
yarn test
yarn version
yarn run build
yarn run test
yarn run version
export CARLIN_ENVIRONMENT=Production
yarn deploy
yarn run deploy
4 changes: 2 additions & 2 deletions cicd/commands/pr
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
yarn build
yarn test
yarn run build
yarn run test
22 changes: 11 additions & 11 deletions packages/website/docs/commands/deploy-cicd.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,17 +132,17 @@ Build, test and deploy on ephemeral/testing environments for the modified packag

# Apply lint only on the modified files.
git diff --name-only HEAD..main | grep -E "\\.(j|t)sx?$" | xargs npx eslint --no-error-on-unmatched-pattern
yarn build
yarn test
yarn deploy --since=main
yarn run build
yarn run test
yarn run deploy --since=main
```

##### closed-pr

Clear the testing environment when a pull request is closed.

```sh title=cicd/commands/closed-pr
yarn destroy
yarn run destroy
```

##### main
Expand All @@ -152,10 +152,10 @@ Build, test, deploy on `Staging` environment and version the project to triggers
```sh title=cicd/commands/main
export REACT_APP_ENVIRONMENT=Staging

yarn build
yarn test
yarn deploy
yarn version
yarn run build
yarn run test
yarn run deploy
yarn run version
```

##### tag
Expand All @@ -165,9 +165,9 @@ Build, test, and deploy on `Production` environment.
```sh title=cicd/commands/tag
export REACT_APP_ENVIRONMENT=Production

yarn build
yarn test
yarn deploy
yarn run build
yarn run test
yarn run deploy
```

### Creating The CI/CD Stack
Expand Down

0 comments on commit 7f62c7c

Please sign in to comment.