Skip to content

[CI] Add smoke test via GitHub workflow #9

[CI] Add smoke test via GitHub workflow

[CI] Add smoke test via GitHub workflow #9

Workflow file for this run

name: smoke
on:
push:
branches: [ main ]
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
cache-dependency-path: package.json
- run: tools/install-hugo.sh
shell: bash
- name: Make site
env:
REPO: ${{ github.repository }}
BRANCH: ${{ github.ref_name }}
run: |
mkdir tmp && cd tmp && set -x
../tools/make-site.sh -p $REPO -v $BRANCH
shell: bash