Skip to content

chore(deps-dev): bump eslint-plugin-jest from 28.9.0 to 28.10.0 in /site #693

chore(deps-dev): bump eslint-plugin-jest from 28.9.0 to 28.10.0 in /site

chore(deps-dev): bump eslint-plugin-jest from 28.9.0 to 28.10.0 in /site #693

Workflow file for this run

name: site
on:
pull_request:
paths:
- ".github/workflows/site.yaml"
- "site/**"
push:
paths:
- ".github/workflows/site.yaml"
- "site/**"
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: site
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: ⚙️ Setup Node
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: npm
cache-dependency-path: site/package-lock.json
- name: 📦 Install Dependencies
run: npm ci
- name: ✨ Check Format
run: npm run format:check
- name: 🧹 Lint
run: npm run lint
- name: 👷 Build website
run: npm run build
deploy:
needs: build
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
defaults:
run:
working-directory: site
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: ⚙️ Setup Node
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: npm
cache-dependency-path: site/package-lock.json
- name: 📦 Install Dependencies
run: npm ci
- name: ✨ Check Format
run: npm run format:check
- name: 🧹 Lint
run: npm run lint
- name: 👷 Build website
run: npm run build
- name: ☁️ Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./site/build
user_name: github-actions[bot]
user_email: 41898282+github-actions[bot]@users.noreply.github.com