Unverified Commit db8715e7 authored by Marco Blessing's avatar Marco Blessing Committed by GitHub
Browse files

Merge branch 'h-enk:master' into master

parents 63107e8e b91e6494
Loading
Loading
Loading
Loading
+12 −26
Original line number Diff line number Diff line
# Test and build your Hyas project
# For more information see: https://henkverlinde.com/continuous-integration-workflow-for-your-hyas-project/

name: Hyas CI

on:
  push:
    branches: [master]
    branches: master
  pull_request:
    branches: [master]
    branches: master

jobs:
  build:
@@ -16,33 +13,22 @@ jobs:
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
        node-version: [14.x, 15.x]
        node: [14.x, 16.x]

    steps:
    - uses: actions/checkout@v2

    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node-version }}
    - name: Check out Hyas project
      uses: actions/checkout@v2

    - name: Install Hugo
      uses: peaceiris/actions-hugo@v2
    - name: Set up Node.js ${{ matrix.node }}
      uses: actions/setup-node@v2
      with:
        hugo-version: 'latest'
        extended: true
    
    - name: Check install Hugo
      run: hugo version
        node-version: ${{ matrix.node }}

    - name: Install dependencies
      run: npm ci

    - name: Check for linting errors
    - name: Run Hyas test script
      run: npm test

    - name: Delete temporary directories
      run: npm run clean
    
    - name: Build production website
      run: npm run build
 No newline at end of file

.github/workflows/readme.yml

deleted100644 → 0
+0 −17
Original line number Diff line number Diff line
name: Readme

on:
  schedule:
    - cron: 0 18 * * *
  push:
    branches:
      - master

jobs:
  update:
    runs-on: ubuntu-latest
    steps:
      - uses: JasonEtco/rss-to-readme@v1
        with:
          feed-url: https://getdoks.org/blog/index.xml
          readme-section: feed
 No newline at end of file
+3 −2
Original line number Diff line number Diff line
functions
bin
node_modules
public
resources
# Local Netlify folder
.netlify
TODO
 No newline at end of file

.npmrc

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
hugo_bin_build_tags = "extended"
 No newline at end of file

.versionrc.json

deleted100644 → 0
+0 −27
Original line number Diff line number Diff line
{
  "types": [
    {"type": "feat", "section": "Features"},
    {"type": "fix", "section": "Bug Fixes"},
    {"type": "chore", "hidden": true},
    {"type": "deps", "section": "Dependencies"},
    {"type": "docs", "section": "Documentation"},
    {"type": "style", "hidden": true},
    {"type": "refactor", "hidden": true},
    {"type": "perf", "hidden": true},
    {"type": "test", "hidden": true}
  ],
  "bumpFiles": [
    {
      "filename": "package.json",
      "type": "json"
    },
    {
      "filename": "package-lock.json",
      "type": "json"
    },
    {
      "filename": "data/doks.json",
      "type": "json"
    }
  ]
}
 No newline at end of file
Loading