Skip to content

ci: test

ci: test #21

Workflow file for this run

name: Node.js CI
on: push
permissions: read-all
env:
SOL_AST_COMPILER_CACHE: ${{ github.workspace }}/.compiler_cache
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn global add solc-typed-ast
- run: sol-ast-compile --version
- run: yarn install
- name: Pre-download compilers from historical builds archive
run: |

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

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 31
sol-ast-compile --download-compilers native wasm
find $SOL_AST_COMPILER_CACHE -name 'list.json' -delete
find $SOL_AST_COMPILER_CACHE -name '*v0.5.17*' -delete
# - run: ls /home/runner/work/natspec-smells/natspec-smells/node_modules/
# - run: ls /home/runner/work/natspec-smells/natspec-smells/node_modules/solc-typed-ast/
# - run: ls /home/runner/work/natspec-smells/natspec-smells/node_modules/solc-typed-ast/.compiler_cache/
# - run: ls /home/
# - run: ls /home/runner/
# - run: ls /home/runner/work/
# - run: ls /home/runner/work/_temp/
# - run: ls /home/runner/work/_temp/.compiler_cache/
# - run: ls /home/runner/work/_temp/.compiler_cache/wasm/
# - run: mkdir -p /home/runner/work/_temp/.compiler_cache/wasm/
- run: yarn test
# env:
# SOL_AST_COMPILER_CACHE: /home/runner/work/_temp/.compiler_cache