Skip to content

chore: bump typescript from 5.7.3 to 5.8.2 (#7014) #478

chore: bump typescript from 5.7.3 to 5.8.2 (#7014)

chore: bump typescript from 5.7.3 to 5.8.2 (#7014) #478

name: Deploy Website to GitHub Pages
on:
push:
branches:
- main
paths:
- 'docs/**'
- 'website/**'
- 'packages/cspell-types/**/*.ts'
# Run on demand
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: Build Website
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node and Pnpm
uses: ./.github/actions/setup-node
with:
node-version: 20.x
- name: Build website
run: |
pnpm i
pnpm run build
cd website
pnpm run build:site
- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
with:
path: website/build
deploy:
name: Deploy to GitHub Pages
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
contents: read
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4