From cd0615cee51612743f9cd46297831463caa2259c Mon Sep 17 00:00:00 2001 From: rodrigoanti <52768391+rodrigoanti@users.noreply.github.com> Date: Wed, 12 Apr 2023 18:02:33 -0400 Subject: [PATCH 1/8] Create ci.yml --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..7ad04c6 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "main" branch + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + - name: Run markdown lint + run: | + npm install remark-cli remark-preset-lint-consistent + npx remark . --use remark-preset-lint-consistent --frail From 0feff975588b5a5d263a6e6fbe243539aa3948c8 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 12 Apr 2023 22:02:55 +0000 Subject: [PATCH 2/8] Update to 2 in STEP and README.md --- .github/script/STEP | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/script/STEP b/.github/script/STEP index d00491f..0cfbf08 100644 --- a/.github/script/STEP +++ b/.github/script/STEP @@ -1 +1 @@ -1 +2 diff --git a/README.md b/README.md index 7613f64..ce3d56f 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ _Create workflows that enable you to use Continuous Integration (CI) for your pr Encourage users to open new tabs for steps! --> -
+

Step 1: Add a test workflow

_Welcome to "GitHub Actions: Continuous Integration"! :wave:_ @@ -96,7 +96,7 @@ First, let's add a workflow to lint our Markdown files in this repository. Define terms and link to docs.github.com. --> -
+

Step 2: Fix the test

_Great job adding the templated workflow! :tada:_ From 50d3e188258fa622c29af561e785510283265afa Mon Sep 17 00:00:00 2001 From: rodrigoanti <52768391+rodrigoanti@users.noreply.github.com> Date: Wed, 12 Apr 2023 18:11:39 -0400 Subject: [PATCH 3/8] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ad04c6..5f7ff6f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - - name: Run markdown lint + - name: Run_markdown_lint run: | npm install remark-cli remark-preset-lint-consistent npx remark . --use remark-preset-lint-consistent --frail From c01e7fa92a5f0a9d887c068b531fa537127b8975 Mon Sep 17 00:00:00 2001 From: rodrigoanti <52768391+rodrigoanti@users.noreply.github.com> Date: Wed, 12 Apr 2023 18:14:28 -0400 Subject: [PATCH 4/8] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f7ff6f..64adef2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - - name: Run_markdown_lint + - name: _Run_markdown_lint_ run: | npm install remark-cli remark-preset-lint-consistent npx remark . --use remark-preset-lint-consistent --frail From 7430ff0a88d64da9af0e72a750e64a9a2d4b5405 Mon Sep 17 00:00:00 2001 From: rodrigoanti <52768391+rodrigoanti@users.noreply.github.com> Date: Wed, 12 Apr 2023 18:17:39 -0400 Subject: [PATCH 5/8] Update ci.yml --- .github/workflows/ci.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64adef2..65b9691 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,30 +1,18 @@ -# This is a basic workflow to help you get started with Actions - name: CI - -# Controls when the workflow will run on: - # Triggers the workflow on push or pull request events but only for the "main" branch push: branches: [ "main" ] pull_request: branches: [ "main" ] - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: -# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" build: - # The type of runner that the job will run on runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - - name: _Run_markdown_lint_ + - name: Run markdown lint run: | npm install remark-cli remark-preset-lint-consistent npx remark . --use remark-preset-lint-consistent --frail From d3a0a722e34f199f79ec6c94ec58f1a794ef8fa2 Mon Sep 17 00:00:00 2001 From: rodrigoanti <52768391+rodrigoanti@users.noreply.github.com> Date: Wed, 12 Apr 2023 18:19:08 -0400 Subject: [PATCH 6/8] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65b9691..38bc169 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v2 - name: Run markdown lint run: | npm install remark-cli remark-preset-lint-consistent From 10e77824dce1111310d1ea3d0a94d2d29c8a8ba1 Mon Sep 17 00:00:00 2001 From: rodrigoanti <52768391+rodrigoanti@users.noreply.github.com> Date: Wed, 12 Apr 2023 18:22:24 -0400 Subject: [PATCH 7/8] Update ci.yml --- .github/workflows/ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38bc169..b25a302 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,14 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - name: Run markdown lint run: | - npm install remark-cli remark-preset-lint-consistent - npx remark . --use remark-preset-lint-consistent --frail + npm install remark-cli remark-preset-lint-consistent + npx remark . --use remark-preset-lint-consistent --frail + + - uses: actions/upload-artifact@v3 + with: + name: remark-lint-report + path: public/ From e6dce004cea35d2a5eac95cee9d21ecac4b0fb2e Mon Sep 17 00:00:00 2001 From: rodrigoanti <52768391+rodrigoanti@users.noreply.github.com> Date: Wed, 12 Apr 2023 18:25:59 -0400 Subject: [PATCH 8/8] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b25a302..be691c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,11 +1,11 @@ name: CI on: + workflow_dispatch: push: branches: [ "main" ] pull_request: branches: [ "main" ] - workflow_dispatch: jobs: build: