Skip to content

Bump @types/node from 20.8.10 to 20.9.4 in /web #1169

Bump @types/node from 20.8.10 to 20.9.4 in /web

Bump @types/node from 20.8.10 to 20.9.4 in /web #1169

Workflow file for this run

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"
name: Publish the web app on GitHub Pages
jobs:
publish:
name: Publish
runs-on: ubuntu-20.04
steps:
- name: Checkout the code
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Node
uses: actions/[email protected]
with:
node-version: "18"
- 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: npm ci
working-directory: web
- name: Build the app
run: npm run build
working-directory: web
- name: Deploy to GitHub Pages
uses: peaceiris/[email protected]
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./web/dist
force_orphan: true