Skip to content

Instantly share code, notes, and snippets.

@stefanzweifel
Created March 5, 2021 18:53
Show Gist options
  • Save stefanzweifel/0eaad348f8f0ca8a869b46c7789c2fee to your computer and use it in GitHub Desktop.
Save stefanzweifel/0eaad348f8f0ca8a869b46c7789c2fee to your computer and use it in GitHub Desktop.

Revisions

  1. stefanzweifel created this gist Mar 5, 2021.
    32 changes: 32 additions & 0 deletions content-standards.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    name: "Content Standards"

    on:
    pull_request: null
    push:
    branches:
    - "main"

    jobs:
    content-standards:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2

    - name: Cache node modules
    id: cache-node
    uses: actions/cache@v2
    with:
    path: node_modules
    key: ${{ runner.os }}-node-v2-${{ hashFiles('**/yarn.lock') }}
    restore-keys: |
    ${{ runner.os }}-node-v2
    - name: Install Frontend Dependencies
    if: steps.cache-node.outputs.cache-hit != 'true'
    run: yarn install
    env:
    CI: true

    - name: Run Alex
    run: alex ./source/_posts/202**