diff --git a/.github/workflows/docs-compile.yml b/.github/workflows/docs-compile.yml new file mode 100644 index 00000000..d9f44e02 --- /dev/null +++ b/.github/workflows/docs-compile.yml @@ -0,0 +1,23 @@ +name: Docs Compile + +on: + push: + branches: + - "v4" + +jobs: + compile: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x] + + steps: + - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@17f8bd926464a1afa4c6a11669539e9c1ba77048 # tag=v3 + with: + node-version: ${{ matrix.node-version }} + - run: npm i + - run: npm run build:docs