Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

chore: ensure site deploy works (#6455)

Mark Wiemer5b5afa7b12e3
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
new file mode 100644
index 00000000..a72bd623
--- /dev/null
+++ b/.github/workflows/docs.yml
@@ -0,0 +1,38 @@
+name: Build site (not deploy)
+
+on:
+ push:
+ branches:
+ - main
+ paths:
+ - .npmrc
+ - package.json
+ - package-lock.json
+ - docs/**
+ - netlify.toml
+ - .github/workflows/docs.yml
+ pull_request:
+ branches:
+ - main
+ paths:
+ - .npmrc
+ - package.json
+ - package-lock.json
+ - docs/**
+ - netlify.toml
+ - .github/workflows/docs.yml
+
+permissions:
+ contents: read
+
+jobs:
+ docs:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v7
+ with:
+ persist-credentials: false
+ - uses: actions/setup-node@v7
+ with:
+ node-version: "26"
+ - run: npm run docs