DOCS-232 - Personal access keys #20710
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request Checks | |
on: | |
pull_request: | |
branches: | |
- main | |
merge_group: | |
types: | |
- checks_requested | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-22.04 | |
env: | |
CI: true | |
NODE_ENV: production | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.x' | |
cache: 'yarn' | |
- name: Docusaurus Webpack cache | |
uses: actions/cache@v3 | |
with: | |
path: node_modules/.cache | |
key: ${{ runner.os }}-webpack-cache | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build the Docusaurus site | |
env: | |
NODE_OPTIONS: "--max-old-space-size=8192 --max-http-header-size=8192" | |
run: yarn build | |
spellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: codespell-project/actions-codespell@master | |
name: Check spelling | |
with: | |
skip: "*.svg,*.js,*.map,*.css,*.scss" | |
ignore_words_list: "aks,atleast,cros,ddress,fiel,ist,nd,ot,pullrequest,ser,shttp,wast,fo,seldomly,delt,cruzer,plack,secur,te,nginx,Nginx,notin" | |
path: docs |