From 7aea7615dbbdd3419bdaaceb2e859830442761a8 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Thu, 2 Mar 2023 16:58:05 +0000 Subject: [PATCH 01/25] Create blank.yml --- .github/workflows/blank.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..c43604b --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,33 @@ +# 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 89957fc76c10d3feba0205dcc7cc79f7cca41bd8 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Thu, 2 Mar 2023 17:00:24 +0000 Subject: [PATCH 02/25] Update and rename ci.yml to blank.yml --- .github/workflows/blank.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index c43604b..badc31d 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: CI +name: blank # Controls when the workflow will run on: From fa0cc930ebb74a4ef912d3fde4e19b37d5568d9e Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Thu, 2 Mar 2023 22:41:13 +0000 Subject: [PATCH 03/25] 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 c43604b..9ea93fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,4 +30,4 @@ jobs: npm install remark-cli remark-preset-lint-consistent npx remark . --use remark-preset-lint-consistent --frail - + _underscore_ From 0787f263d61d74eb95333d131826eb4aa87e128c Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 2 Mar 2023 22:41:37 +0000 Subject: [PATCH 04/25] 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 a6b1e0f..41c3505 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 9ebdf89c491f344c42b4e77ab2d6862f397c7a1f Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Thu, 2 Mar 2023 22:45:19 +0000 Subject: [PATCH 05/25] Update blank.yml --- .github/workflows/blank.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index badc31d..f672ebd 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -30,4 +30,7 @@ jobs: 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 5f082d42d7891b9cb0ee4f67d9eaa0b7e50dc6d0 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Thu, 2 Mar 2023 22:47:29 +0000 Subject: [PATCH 06/25] Update ci.yml --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ea93fe..7c1ce5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,5 +29,10 @@ jobs: run: | 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/ - _underscore_ + _underscore_ From dd651f3889f88b55b30d6a611334c51174d33503 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Thu, 2 Mar 2023 22:48:40 +0000 Subject: [PATCH 07/25] Update ci.yml --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c1ce5b..9ea3034 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,5 +34,3 @@ jobs: with: name: remark-lint-report path: public/ - - _underscore_ From 55a6fc373a454d7bd5d1407f0bf091f3925d90d4 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Thu, 2 Mar 2023 22:50:40 +0000 Subject: [PATCH 08/25] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ea3034..cd35b05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,5 +32,5 @@ jobs: - uses: actions/upload-artifact@v3 with: - name: remark-lint-report - path: public/ + name: remark-lint-report + path: public/ From b3ebda080273a6897c1d43131a0ec5d43ea9f155 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Thu, 2 Mar 2023 22:52:01 +0000 Subject: [PATCH 09/25] Update ci.yml --- .github/workflows/ci.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd35b05..81894e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,21 +16,19 @@ on: # 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 + build: + runs-on: ubuntu-latest + steps: - 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/ + name: remark-lint-report + path: public/ + + _underscore_ From ce52491ae5e1818d5e025b4088ff28e8dc1130fd Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Thu, 2 Mar 2023 22:58:30 +0000 Subject: [PATCH 10/25] Update blank.yml --- .github/workflows/blank.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index f672ebd..355eab0 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -19,7 +19,6 @@ jobs: 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 @@ -27,10 +26,11 @@ jobs: - 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 9564f90fac8c67bd68aef3af272900d4e47a9097 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Thu, 2 Mar 2023 22:59:37 +0000 Subject: [PATCH 11/25] Update ci.yml --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81894e4..ebfb4f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,15 +20,13 @@ jobs: runs-on: ubuntu-latest steps: - 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 - + - uses: actions/upload-artifact@v3 with: name: remark-lint-report path: public/ - - _underscore_ From b505ce654ca2229901c0dbaab470dd06bd960086 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Fri, 3 Mar 2023 10:10:05 +0000 Subject: [PATCH 12/25] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ebfb4f4..b34750a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,3 +30,4 @@ jobs: with: name: remark-lint-report path: public/ + _underscore_ From 3d10b465915ee72be74047fa0ac4373be352bd04 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Fri, 3 Mar 2023 10:12:15 +0000 Subject: [PATCH 13/25] Update blank.yml --- .github/workflows/blank.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 355eab0..3bea8e8 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -23,14 +23,14 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 + - uses: actions/upload-artifact@v3 + with: + name: remark-lint-report + path: public/ - name: Run markdown lint run: | 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 b63ffb3b7f570d1e4ecc118d586f4626db3712ca Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Fri, 3 Mar 2023 10:12:46 +0000 Subject: [PATCH 14/25] Update ci.yml --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b34750a..34229c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,13 +21,13 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: actions/upload-artifact@v3 + with: + name: remark-lint-report + path: public/ + - name: Run markdown lint run: | 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/ - _underscore_ From bd700f1f42b9bd257076f22c46e9ee29d0ee5558 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Fri, 3 Mar 2023 11:09:20 +0000 Subject: [PATCH 15/25] Update ci.yml --- .github/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34229c7..952324b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,14 +20,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - - uses: actions/upload-artifact@v3 - with: - name: remark-lint-report - path: public/ - name: Run markdown lint run: | npm install remark-cli remark-preset-lint-consistent npx remark . --use remark-preset-lint-consistent --frail + _underscore_ From a44c0e39c785b9ad390e19e8006e377ebd949fad Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Fri, 3 Mar 2023 11:23:31 +0000 Subject: [PATCH 16/25] Update ci.yml --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 952324b..f164df4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,4 +26,9 @@ jobs: npm install remark-cli remark-preset-lint-consistent npx remark . --use remark-preset-lint-consistent --frail - _underscore_ + - uses: actions/upload-artifact@v3 + with: + name: remark-lint-report + path: public/ + + _underscore_ From c8087c9f67317f7eaa93980167c3a911892d63d0 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Fri, 3 Mar 2023 11:27:37 +0000 Subject: [PATCH 17/25] 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 f164df4..5190922 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,4 +31,4 @@ jobs: name: remark-lint-report path: public/ - _underscore_ + From 7227fd1ad2d2bd1a4ad4516d023dc9974cff212c Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Fri, 3 Mar 2023 11:43:56 +0000 Subject: [PATCH 18/25] Update ci.yml --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5190922..365fa3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,6 @@ jobs: run: | 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 From 42ef1f89dcaa7ad818c624a4e97d37b61fc9fb8e Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Fri, 3 Mar 2023 11:48:50 +0000 Subject: [PATCH 19/25] Update ci.yml --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 365fa3d..840c3ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,14 +20,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + + - uses: actions/upload-artifact@v3 + with: + name: remark-lint-report + path: public/ - name: Run markdown lint run: | 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 8b39d24d17fea8a64f3019fc051c7e86cc1c7550 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Fri, 3 Mar 2023 11:57:18 +0000 Subject: [PATCH 20/25] Update ci.yml --- .github/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 840c3ab..33e9ee1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,11 +20,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - - uses: actions/upload-artifact@v3 - with: - name: remark-lint-report - path: public/ - name: Run markdown lint run: | @@ -32,5 +27,11 @@ jobs: npx remark . --use remark-preset-lint-consistent --frail + - uses: actions/upload-artifact@v3 + with: + name: remark-lint-report + path: public/ + + _underscore_ From 1e77c353564f5b2d5cb0738b2a8fc25dab3a18e6 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Fri, 3 Mar 2023 11:59:50 +0000 Subject: [PATCH 21/25] Update ci.yml --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33e9ee1..e2fb7e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: run: | npm install remark-cli remark-preset-lint-consistent npx remark . --use remark-preset-lint-consistent --frail - + _underscore_ - uses: actions/upload-artifact@v3 with: @@ -33,5 +33,4 @@ jobs: path: public/ - _underscore_ From 10dc010ab553574eccc3f5cfe3509dc831e81219 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Fri, 3 Mar 2023 12:01:52 +0000 Subject: [PATCH 22/25] Update ci.yml --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2fb7e0..4668ab0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,16 +16,15 @@ on: # 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: - runs-on: ubuntu-latest - steps: + build: + runs-on: ubuntu-latest + steps: - 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 - _underscore_ - uses: actions/upload-artifact@v3 with: From 3ed797aa5bd002fa2f91e00d67c51b042a0af349 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Fri, 3 Mar 2023 12:19:28 +0000 Subject: [PATCH 23/25] Update ci.yml --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4668ab0..c5b584f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,5 +31,4 @@ jobs: name: remark-lint-report path: public/ - - + -_underscore_ From fc6c52754d53367375ae2119d20b012504348027 Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Fri, 3 Mar 2023 12:21:11 +0000 Subject: [PATCH 24/25] Update ci.yml --- .github/workflows/ci.yml | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5b584f..4172b17 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,7 @@ # 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 @@ -9,26 +9,39 @@ on: 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: + 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 - + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. - 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/ - + -_underscore_ From ac663b5c898f943d22d49223e90a71f3a10b153b Mon Sep 17 00:00:00 2001 From: Areias24 <126802057+Areias24@users.noreply.github.com> Date: Fri, 3 Mar 2023 12:22:15 +0000 Subject: [PATCH 25/25] Update ci.yml --- .github/workflows/ci.yml | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4172b17..5bc393f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,7 @@ # 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 @@ -9,39 +9,25 @@ on: 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 + build: 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 - - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! - - # Runs a set of commands using the runners shell - - name: Run a multi-line script - run: | - echo Add other actions to build, - echo test, and deploy your project. + - 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/ - + -_underscore_