miss deps #4
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: GitHub Pages | |
on: | |
push: | |
branches: [main] | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
cache: "pnpm" | |
- run: pnpm install --frozen-lockfile | |
- name: build clangd | |
run: | | |
sudo apt update | |
sudo apt install vim git build-essential cmake ninja-build python3 | |
./build.sh | |
- run: pnpm build | |
- uses: actions/upload-pages-artifact@v1 | |
with: | |
path: "./dist" | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/deploy-pages@v1 | |
id: deployment |