Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Create blank.yml #2

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/script/STEP
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1
2
36 changes: 36 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This is a basic workflow to help you get started with Actions

name: blank

# 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
- 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


20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ 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
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

- 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_
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!
-->

<details id=1 open>
<details id=1>
<summary><h2>Step 1: Add a test workflow</h2></summary>

_Welcome to "GitHub Actions: Continuous Integration"! :wave:_
Expand Down Expand Up @@ -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.
-->

<details id=2>
<details id=2 open>
<summary><h2>Step 2: Fix the test</h2></summary>

_Great job adding the templated workflow! :tada:_
Expand Down