Bump @types/node from 22.5.5 to 22.9.3 in /web #1534
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
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_NET_GIT_FETCH_WITH_CLI: "true" | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
name: Publish the web app on GitHub Pages | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Install Node | |
uses: actions/setup-node@v4.0.4 | |
with: | |
node-version: "20" | |
cache: "pnpm" | |
cache-dependency-path: web/pnpm-lock.yaml | |
- name: Install Rust toolchain | |
run: | | |
rustup toolchain install stable | |
rustup default stable | |
rustup target add wasm32-unknown-unknown | |
- name: Setup Rust build cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Install Node dependencies | |
run: pnpm i | |
working-directory: web | |
- name: Build the app | |
run: pnpm run build | |
working-directory: web | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: "./web/dist" | |
- name: Deploy to GitHub Pages | |
uses: actions/deploy-pages@v4 | |
if: github.ref == 'refs/heads/main' |