Skip to content

Commit

Permalink
dfx configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
krpeacock committed Dec 21, 2024
1 parent 2ee0f3e commit c9c40bb
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/playwright-svelte.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ jobs:
echo "assets=$(pwd)/e2e/assets" >> "$GITHUB_ENV"
echo "utils=$(pwd)/e2e/utils" >> "$GITHUB_ENV"
export
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
- name: Build dfx
run: cargo build --bin dfx
- name: Setting up Python
uses: actions/setup-python@v5
with:
Expand All @@ -58,11 +67,11 @@ jobs:
playwright install-deps
- name: Deploy default dfx project
run: |
dfx new e2e_project --frontend sveltekit
./target/debug/dfx new e2e_project --frontend sveltekit
pushd e2e_project
dfx start --background --clean
dfx canister create e2e_project_frontend --specified-id br5f7-7uaaa-aaaaa-qaaca-cai
dfx deploy
./target/debug/dfx start --background --clean
./target/debug/dfx canister create e2e_project_frontend --specified-id br5f7-7uaaa-aaaaa-qaaca-cai
./target/debug/dfx deploy
popd
- name: Install dependencies
run: npm ci
Expand Down

0 comments on commit c9c40bb

Please sign in to comment.