build(deps-dev): bump eslint from 8.29.0 to 8.50.0 #140
Workflow file for this run
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: Website | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- .github/workflows/website.yml | |
- website/** | |
- package.json | |
- yarn.lock | |
pull_request: | |
branches: | |
- master | |
defaults: | |
run: | |
working-directory: website | |
jobs: | |
deploy: | |
name: Deploy to GitHub Pages | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout Repo | |
uses: actions/checkout@v3 | |
- name: ⬢ Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: yarn | |
- name: 📦 Install Packages | |
run: yarn install --frozen-lockfile | |
- name: 🌐 Build Website | |
run: yarn build | |
# Popular action to deploy to GitHub Pages: | |
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus | |
- name: ⬆️ Deploy to GitHub Pages | |
# Deploy only upon pushes to master branch | |
if: github.event_name == 'push' | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
# Build output to publish to the `gh-pages` branch: | |
publish_dir: website/build |