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/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..8b8c918 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,37 @@ +# 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 + + - uses: actions/upload-artifact@v3 + with: + name: remark-lint-report + path: public/ + + 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:_ diff --git a/resume.md b/resume.md index ea9da18..a85f5fd 100644 --- a/resume.md +++ b/resume.md @@ -6,7 +6,8 @@ _Charting the knowledge of the Internet, just like Galileo charted the stars._ ### GitHub Trainer -Teach all things _Git_, give away all the stickers, ensure world peace. + +Teach all things _Git_, give away all the stickers, ensure world peace.