-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
3,654 additions
and
357 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Deploy snen.dev | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
deploy: | ||
name: Build client and server and deploy to Deno. | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read # Needed to clone the repository | ||
id-token: write # Needed for auth with Deno Deploy | ||
|
||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install rust | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
targets: | ||
wasm32-unknown-unknown | ||
|
||
- name: Install wasm-pack | ||
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | ||
|
||
- name: Install Deno | ||
uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: v1.x | ||
|
||
- name: Build server | ||
run: deno task build:server | ||
|
||
- name: Build client | ||
run: deno task build:client | ||
|
||
- name: Deno Deploy | ||
uses: denoland/deployctl@v1 | ||
with: | ||
project: snendev | ||
root: apps/web | ||
entrypoint: run.ts |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Generated by Cargo | ||
# will have compiled files and executables | ||
/target/ | ||
pkg | ||
|
||
# These are backup files generated by rustfmt | ||
**/*.rs.bk | ||
|
||
# node e2e test tools and outputs | ||
node_modules/ | ||
test-results/ | ||
end2end/playwright-report/ | ||
playwright/.cache/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.