Skip to content

[CI] Add smoke test via GitHub workflow #10

[CI] Add smoke test via GitHub workflow

[CI] Add smoke test via GitHub workflow #10

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:
BRANCH: ${{ github.ref_name }}
REPO: ${{ github.repository }}
SHA: ${{ github.sha }}
run: |
mkdir tmp && cd tmp && set -x
../tools/make-site.sh -p $REPO -v $SHA
shell: bash