Skip to content

ci: test

ci: test #20

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: yarn install
# - 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