From b7718ee6ec5f61cf0fdc2c541aca406ac019a192 Mon Sep 17 00:00:00 2001 From: David Goss Date: Sun, 24 Dec 2023 23:11:44 +0000 Subject: [PATCH] add barebones job --- .github/workflows/site.yaml | 17 +++++++++++++++++ .gitignore | 3 ++- typedoc.json | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/site.yaml diff --git a/.github/workflows/site.yaml b/.github/workflows/site.yaml new file mode 100644 index 000000000..885e8d40a --- /dev/null +++ b/.github/workflows/site.yaml @@ -0,0 +1,17 @@ +name: Site + +on: + push: + branches: + - revive-api-extractor + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 20.x + - run: npm install + - run: npm run exports-generate-docs diff --git a/.gitignore b/.gitignore index a6c2b3b77..fba32eb48 100644 --- a/.gitignore +++ b/.gitignore @@ -2,12 +2,13 @@ .nyc_output_feature/ .nyc_output_unit/ .nyc_output/ +_site/ @rerun.txt coverage/ lib/ node_modules -site/ tmp/ + reports/*.html reports/*.ndjson reports/*.txt diff --git a/typedoc.json b/typedoc.json index cea7f2e88..eb7ceae3f 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,6 +1,6 @@ { "entryPoints": ["src/index.ts", "src/api/index.ts"], "name": "cucumber-js", - "out": "./site", + "out": "./_site", "tsconfig": "tsconfig.node.json" }