Update dependency vite to v5.3.6 [SECURITY] #533
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: DevTools | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
devtools: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
submodules: recursive | |
- uses: actions/[email protected] | |
with: | |
node-version: 21 | |
- name: Get Rust toolchain | |
id: toolchain | |
run: | | |
awk -F'[ ="]+' '$1 == "channel" { print "toolchain=" $2 }' rust-toolchain >> "$GITHUB_OUTPUT" | |
- uses: dtolnay/rust-toolchain@v1 | |
with: | |
toolchain: ${{ steps.toolchain.outputs.toolchain }} | |
- name: cache dependencies | |
uses: Swatinem/[email protected] | |
- name: Install wasm-pack | |
run: cargo install wasm-pack --locked | |
- name: install pnpm | |
working-directory: devtools-frontend | |
run: corepack enable | |
- name: install frontend dependencies | |
working-directory: devtools-frontend | |
run: pnpm install | |
- name: lint | |
working-directory: devtools-frontend | |
run: pnpm lint | |
- name: build | |
working-directory: devtools-frontend | |
run: pnpm build |