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