30 lines
No EOL
636 B
YAML
30 lines
No EOL
636 B
YAML
name: deploy
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
my-job:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup Rust
|
|
uses: https://github.com/actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: nightly
|
|
override: true
|
|
components: rustfmt
|
|
|
|
- name: Add wasm32-unknown-unknown
|
|
run: rustup target add wasm32-unknown-unknown
|
|
|
|
- name: Add cargo-letpos
|
|
run: cargo install cargo-leptos
|
|
|
|
- name: Install Node.js
|
|
uses: https://github.com/actions/setup-node@v4
|
|
with:
|
|
node-version: 19
|
|
|
|
- name: my-step
|
|
run: echo "Hello World 2!" |