2023-11-20 21:42:19 +01:00
|
|
|
name: deploy
|
2023-11-20 21:39:37 +01:00
|
|
|
|
2023-11-20 21:42:19 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
2023-11-20 21:39:37 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
my-job:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-11-20 21:50:29 +01:00
|
|
|
- name: Setup Rust
|
2023-11-20 21:58:02 +01:00
|
|
|
uses: https://github.com/actions-rs/toolchain@v1
|
2023-11-20 21:50:29 +01:00
|
|
|
with:
|
|
|
|
toolchain: nightly
|
|
|
|
override: true
|
|
|
|
components: rustfmt
|
|
|
|
|
|
|
|
- name: Add wasm32-unknown-unknown
|
|
|
|
run: rustup target add wasm32-unknown-unknown
|
|
|
|
|
2023-11-20 21:56:01 +01:00
|
|
|
- name: Add cargo-letpos
|
2023-11-20 21:50:29 +01:00
|
|
|
run: cargo install cargo-leptos
|
|
|
|
|
|
|
|
- name: Install Node.js
|
2023-11-20 21:58:02 +01:00
|
|
|
uses: https://github.com/actions/setup-node@v4
|
2023-11-20 21:50:29 +01:00
|
|
|
with:
|
|
|
|
node-version: 19
|
|
|
|
|
2023-11-20 21:39:37 +01:00
|
|
|
- name: my-step
|
2023-11-20 21:44:59 +01:00
|
|
|
run: echo "Hello World 2!"
|