Skip to content

added requested changes #6

added requested changes

added requested changes #6

Workflow file for this run

name: CI
on:
repository_dispatch:
types: build-and-deploy
push:
branches:
- "**"
pull_request:
branches: [develop]
types: [opened, reopened, synchronize]
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check spelling
uses: codespell-project/actions-codespell@v2
with:
skip: .git,**/*.png,**/*.gif,**/*.jpg,**/*.svg,**/*.ico,**/*.json,package.json,package-lock.json,*.lock
ignore_words_list: unit
- name: Install and Build 🔧
run: |
npm install
npx prettier --check "**/*.{graphql,yml,json,md,sh,ts,tsx,js}"
npm run typecheck
npm run build
- name: Deploy 🚀
if: github.ref == 'refs/heads/develop'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build