Commit 93f7598f authored by Henk Verlinde's avatar Henk Verlinde
Browse files

feat: add hugo-installer + auto-changelog

parent 63786ab4
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
+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
+6 −2
Original line number Diff line number Diff line
# Changelog
### Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

<!-- auto-changelog-above -->

### [0.2.3](https://github.com/h-enk/doks/compare/v0.2.2...v0.2.3) (2021-04-02)

Loading