Skip to content

Publish gravityjs parent repo #34

Publish gravityjs parent repo

Publish gravityjs parent repo #34

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
if: env.GIT_DIFF

Check failure on line 11 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 11, Col: 9): Unrecognized named-value: 'env'. Located at position 1 within expression: env.GIT_DIFF
steps:
- uses: actions/checkout@v2
- uses: technote-space/[email protected]
id: git_diff
with:
PATTERNS: |
packages/**/**.js
packages/**/**.ts
packages/**/package.json
packages/**/yarn.lock
package.json
yarn.lock
- name: Install modules
run: npm install
- name: Build and link packages
run: npm run build
- name: Start Docker local node
run: >-
cd packages/evmosjs/src/tests &&
docker build -t evmosjs-test . &&
docker create -p 1317:1317 -p 8545:8545 --name evmos -t evmosjs-test &&
docker start evmos &&
cd ../../../..
- name: Wait for Docker to spin up
run: sleep 30
- name: Run tests
run: npm run test