Skip to content

Commit c9c40bb

Browse files
committed
dfx configuration
1 parent 2ee0f3e commit c9c40bb

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/playwright-svelte.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ jobs:
4747
echo "assets=$(pwd)/e2e/assets" >> "$GITHUB_ENV"
4848
echo "utils=$(pwd)/e2e/utils" >> "$GITHUB_ENV"
4949
export
50+
- uses: actions-rs/toolchain@v1
51+
with:
52+
toolchain: stable
53+
- uses: actions-rs/cargo@v1
54+
with:
55+
command: build
56+
args: --release --all-features
57+
- name: Build dfx
58+
run: cargo build --bin dfx
5059
- name: Setting up Python
5160
uses: actions/setup-python@v5
5261
with:
@@ -58,11 +67,11 @@ jobs:
5867
playwright install-deps
5968
- name: Deploy default dfx project
6069
run: |
61-
dfx new e2e_project --frontend sveltekit
70+
./target/debug/dfx new e2e_project --frontend sveltekit
6271
pushd e2e_project
63-
dfx start --background --clean
64-
dfx canister create e2e_project_frontend --specified-id br5f7-7uaaa-aaaaa-qaaca-cai
65-
dfx deploy
72+
./target/debug/dfx start --background --clean
73+
./target/debug/dfx canister create e2e_project_frontend --specified-id br5f7-7uaaa-aaaaa-qaaca-cai
74+
./target/debug/dfx deploy
6675
popd
6776
- name: Install dependencies
6877
run: npm ci

0 commit comments

Comments
 (0)