Skip to content

Merge pull request #1096 from surishubham/main #1267

Merge pull request #1096 from surishubham/main

Merge pull request #1096 from surishubham/main #1267

Workflow file for this run

name: Pull Request Checks
on:
pull_request:
branches:
- main
merge_group:
jobs:
build-and-deploy:
runs-on: ubuntu-20.04
env:
CI: true
NODE_ENV: prod
steps:

Check failure on line 16 in .github/workflows/pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.14.0'
cache: 'npm'
- name: 'Create env file'
run: |
touch .env
echo "HOST=${{ secrets.TYPESENSE_HOST }}" >> .env
echo "API=${{ secrets.PUBLIC_APY_TYPESENSE }}" >> .env
- name: Docusaurus Webpack cache
uses: actions/cache@v3
with:
path: node_modules/.cache
key: ${{ runner.os }}-webpack-cache
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Build the Docusaurus site
env:
NODE_OPTIONS: "--max-old-space-size=8192"
run: npm run 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,*.webp"
ignore_words_list: aks,atleast,cros,ddress,fiel,ist,nd,ot,pullrequest,ser,shttp,wast,fo,tht,extention,seldomly,delt,cruzer,plack,secur,te,testng,TestNG,FLE,fle,afterAll,afterall,Nome,nome,lod,pressEnter,pressenter,softwares
path: docs