Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/editor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Web editor
on:
push:
pull_request:
permissions:
contents: read
jobs:
editor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: '1.90.0'
targets: wasm32-unknown-unknown
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check
- run: cargo test --workspace --locked
- run: cargo clippy --workspace --all-targets --locked -- -D warnings
- run: cargo check -p web_view --target wasm32-unknown-unknown --locked
- uses: taiki-e/install-action@v2
with:
tool: trunk@0.21.14
- run: trunk build --release --locked
env:
NO_COLOR: 'true'
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
- run: npm ci
- run: npx playwright install --with-deps chromium
- run: npm run test:e2e
- uses: actions/upload-artifact@v4
if: always()
with:
name: browser-test-results
path: test-results/
- uses: actions/upload-artifact@v4
with:
name: pace-web-editor
path: dist/
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/target
/dist
/node_modules
/test-results
/playwright-report
Loading
Loading