Update data-protocols-formats/frontend-backend.md for v24.1.0 (#23) #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build test | |
on: [push, pull_request] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Hugo setup | |
uses: peaceiris/actions-hugo@v2 | |
with: | |
hugo-version: '0.99.1' | |
extended: true | |
- name: Node setup | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'npm' | |
cache-dependency-path: '${{github.workspace}}/package-lock.json' | |
- run: npm ci | |
- name: Clean public directory | |
run: rm -rf public | |
- name: Build Hugo | |
run: hugo --minify |