docs: update examples to use DFX v0.16.1 #28
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
name: Test (Bun) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test_bun: | |
name: Test (Bun) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-bun | |
- uses: ./.github/actions/setup-dfx | |
- name: Build | |
run: bun run build | |
- name: Start DFX | |
run: dfx start --background | |
- name: Create Example Canisters | |
run: bun create:examples | |
- name: Build Examples | |
run: bun build:examples | |
- name: Stop DFX | |
run: dfx stop | |
- name: Test Examples | |
run: bun test:examples |