diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 0dfce19..3218299 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -1,12 +1,13 @@ +--- name: gh-pages -on: +"on": push: tags: - 'v*.*.*' env: - NIM_VERSION: '1.2.4' + NIM_VERSION: 'stable' jobs: gh-pages: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9a326db..bffa2b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,3 +57,19 @@ jobs: - run: nimble buildjs - run: nimble examples - run: nimble test -Y + + test-docs: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: + - ubuntu-latest + nim-version: + - 'stable' + steps: + - uses: actions/checkout@v2.4.0 + - uses: jiro4989/setup-nim-action@v1 + with: + nim-version: ${{ matrix.nim-version }} + - run: nimble install -Y + - run: nimble docs