chore(deps): update typescript #554
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/checkout@v4.2.2 | |
with: | |
submodules: recursive | |
- uses: actions/setup-node@v4.1.0 | |
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/rust-cache@v2.7.5 | |
- 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 |