Skip to content

deps: update dependency @types/node to ^18.19.33 #182

deps: update dependency @types/node to ^18.19.33

deps: update dependency @types/node to ^18.19.33 #182

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
env:
CI: 1
jobs:
lint:
name: Lint
runs-on: ubuntu-20.04
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v3.3.0
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- uses: ./.github/actions/setup-env
- name: ESLint
run: yarn lint
website:
name: Website
runs-on: ubuntu-20.04
if: "!contains(github.event.head_commit.message, '[skip ci]')"
needs: [lint]
steps:
- uses: actions/checkout@v3.3.0
with:
token: ${{ secrets.TOPHAT_BOT_GH_TOKEN }}
fetch-depth: 0
- uses: ./.github/actions/setup-env
- name: Build Website
if: "github.event_name == 'pull_request'"
run: yarn build
- name: Build & Deploy Website
if: "github.event_name == 'push' && github.ref == 'refs/heads/main'"
run: |
git checkout gh-pages
git reset --hard main
yarn build
git add docs
git commit -m "chore: update website" -n
git push --force origin gh-pages