Multi backend #451
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: CI | |
# Triggered on all pull requests and dev pushes. | |
on: | |
pull_request: | |
push: | |
branches: | |
- dev | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout SDK" | |
uses: actions/checkout@v3 | |
- name: "Prettier Check" | |
uses: creyD/prettier_action@v4.0 | |
with: | |
dry: True | |
prettier_options: --config .prettierrc --check **/*.ts | |
- name: "Setup Node.js" | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
cache: "yarn" | |
- name: "Install dependencies" | |
run: yarn install | |
- name: "Build" | |
run: yarn build | |
- name: "Test" | |
run: yarn test | |
- name: "Checkout Erdstall Core" | |
uses: actions/checkout@v3 | |
with: | |
ssh-key: ${{ secrets.SSH_PRIV_KEY }} | |
repository: "perun-network/erdstall-ext" | |
path: "erdstall" | |
- name: "Set up Go 1.x" | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ^1.17 | |
- name: "Build walkthrough operator" | |
working-directory: "erdstall" | |
run: go build -o wo ./cmd/walkthrough/main.go | |
- name: "End-2-End Test" | |
run: ERDSTALL_EXE=erdstall/wo yarn test:e2e |