Merge pull request #39 from starknet-id/fix/version #91
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: Build | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
services: | |
devnet: | |
image: shardlabs/starknet-devnet-rs:0.0.5-seed0 | |
ports: | |
- 5050:5050 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set Node version | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 19.4.0 | |
- uses: pnpm/[email protected] | |
with: | |
version: 7.1.7 | |
- name: Install dependencies | |
run: pnpm install --strict-peer-dependencies=false --no-frozen-lockfile | |
- name: Print project structure | |
run: | | |
ls -R | |
- name: Run build | |
run: pnpm build | |
- name: Run test | |
run: pnpm test |