diff --git a/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pullRequest.yml b/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pullRequest.yml index 553e2697742..2af0781fa59 100644 --- a/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pullRequest.yml +++ b/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pullRequest.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@v2 - # 1. Install and cache dependencies. + # Install and cache dependencies. - uses: actions/cache@v2 id: yarn-cache with: @@ -41,14 +41,14 @@ jobs: - name: Install dependencies run: yarn --immutable - # 2. Run static code analysis. + # Run static code analysis. - name: Check code formatting run: yarn prettier:check - name: ESLint run: yarn eslint - # 4. Run unit tests. + # Run unit tests. - name: Run unit tests run: yarn test:unit @@ -73,7 +73,7 @@ jobs: - uses: actions/checkout@v2 - # 1. Install and cache dependencies. + # Install and cache dependencies. - uses: actions/cache@v2 id: yarn-cache with: @@ -83,15 +83,15 @@ jobs: - name: Install dependencies run: yarn --immutable - # 3. Deploy to a short-lived environment (will be destroyed once the PR is closed). + # Deploy to a short-lived environment (will be destroyed once the PR is closed). - name: Deploy run: yarn webiny deploy --env pr${{ github.event.pull_request.number }} - # 4. Run integration tests. + # Run integration tests. - name: Run integration tests run: yarn test:integration - # 5. Run end-to-end tests. + # Run end-to-end tests. - name: Run end-to-end tests run: yarn test:e2e diff --git a/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pullRequestClosed.yml b/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pullRequestClosed.yml index 483023a7634..af4cf0fa269 100644 --- a/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pullRequestClosed.yml +++ b/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pullRequestClosed.yml @@ -41,7 +41,7 @@ jobs: - uses: actions/checkout@v2 - # 1. Install and cache dependencies. + # Install and cache dependencies. - uses: actions/cache@v2 id: yarn-cache with: @@ -51,7 +51,7 @@ jobs: - name: Install dependencies run: yarn --immutable - # 2. Destroy short-lived environment. + # Destroy short-lived environment. - name: Destroy Website project application run: yarn webiny destroy apps/website --env pr${{ github.event.pull_request.number }} diff --git a/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pushDev.yml b/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pushDev.yml index 485b8cb37cf..6eafc9aea88 100644 --- a/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pushDev.yml +++ b/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pushDev.yml @@ -42,7 +42,7 @@ jobs: - uses: actions/checkout@v2 - # 1. Install and cache dependencies. + # Install and cache dependencies. - uses: actions/cache@v2 id: yarn-cache with: @@ -53,25 +53,25 @@ jobs: - name: Install dependencies run: yarn --immutable - # 2. Run static code analysis. + # Run static code analysis. - name: Check code formatting run: yarn prettier:check - name: ESLint run: yarn eslint - # 4. Run unit tests. + # Run unit tests. - name: Run unit tests run: yarn test:unit - name: Deploy run: yarn webiny deploy --env dev - # 6. Run integration tests. + # Run integration tests. - name: Run integration tests run: yarn test:integration - # 7. Run end-to-end tests. + # Run end-to-end tests. - name: Run end-to-end tests run: yarn test:e2e diff --git a/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pushProd.yml b/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pushProd.yml index 19904e6032b..5704bbc305d 100644 --- a/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pushProd.yml +++ b/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pushProd.yml @@ -42,7 +42,7 @@ jobs: - uses: actions/checkout@v2 - # 1. Install and cache dependencies. + # Install and cache dependencies. - uses: actions/cache@v2 id: yarn-cache with: @@ -53,25 +53,25 @@ jobs: - name: Install dependencies run: yarn --immutable - # 2. Run static code analysis. + # Run static code analysis. - name: Check code formatting run: yarn prettier:check - name: ESLint run: yarn eslint - # 4. Run unit tests. + # Run unit tests. - name: Run unit tests run: yarn test:unit - name: Deploy run: yarn webiny deploy --env prod - # 6. Run integration tests. + # Run integration tests. - name: Run integration tests run: yarn test:integration - # 7. Run end-to-end tests. + # Run end-to-end tests. - name: Run end-to-end tests run: yarn test:e2e diff --git a/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pushStaging.yml b/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pushStaging.yml index 221b988058c..4834bb113cc 100644 --- a/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pushStaging.yml +++ b/packages/cli-plugin-scaffold-ci/src/githubActions/files/workflows/.github/workflows/pushStaging.yml @@ -42,7 +42,7 @@ jobs: - uses: actions/checkout@v2 - # 1. Install and cache dependencies. + # Install and cache dependencies. - uses: actions/cache@v2 id: yarn-cache with: @@ -53,25 +53,25 @@ jobs: - name: Install dependencies run: yarn --immutable - # 2. Run static code analysis. + # Run static code analysis. - name: Check code formatting run: yarn prettier:check - name: ESLint run: yarn eslint - # 4. Run unit tests. + # Run unit tests. - name: Run unit tests run: yarn test:unit - name: Deploy run: yarn webiny deploy --env staging - # 6. Run integration tests. + # Run integration tests. - name: Run integration tests run: yarn test:integration - # 7. Run end-to-end tests. + # Run end-to-end tests. - name: Run end-to-end tests run: yarn test:e2e