Enable rule @typescript-eslint/restrict-template-expressions (#3691) #587
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: Publish GitHub Pages | |
on: | |
workflow_dispatch: | |
branches: | |
- master | |
- maintenance/* | |
push: | |
branches: | |
- master | |
- maintenance/* | |
env: | |
# Among other things, opts out of Turborepo telemetry | |
# See https://consoledonottrack.com/ | |
DO_NOT_TRACK: '1' | |
# Some tasks slow down considerably on GitHub Actions runners when concurrency is high | |
TURBO_CONCURRENCY: 1 | |
# Enables Turborepo Remote Caching. | |
TURBO_REMOTE_CACHE_SIGNATURE_KEY: ${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }} | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
jobs: | |
compile-gh-pages-legacy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: maintenance/v1.x | |
- name: Install Dependencies | |
uses: ./.github/workflows/actions/install-dependencies | |
- name: Compile and Upload Artifacts | |
# Be aware that this is the version that lives on the `maintenance/v1.x` branch. | |
uses: ./.github/workflows/actions/compile-gh-pages | |
compile-gh-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
uses: ./.github/workflows/actions/install-dependencies | |
- name: Compile and Upload Artifacts | |
uses: ./.github/workflows/actions/compile-gh-pages | |
publish: | |
runs-on: ubuntu-latest | |
needs: [compile-gh-pages, compile-gh-pages-legacy] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
uses: ./.github/workflows/actions/install-dependencies | |
- name: Download Deploy Directory from Artifact Cache | |
uses: actions/download-artifact@v4 | |
with: | |
path: .ghpages-deploy | |
pattern: ghpages-deploy-artifacts* | |
merge-multiple: true | |
- name: Deploy to Github Pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: .ghpages-deploy |