Skip to content

Fix CI to use subfolders correctly #2

Fix CI to use subfolders correctly

Fix CI to use subfolders correctly #2

Workflow file for this run

name: massa sc ci tests
on: [push]
jobs:
sc-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
working-directory: ./smart-contract

Check failure on line 13 in .github/workflows/ci-tests.yml

View workflow run for this annotation

GitHub Actions / massa sc ci tests

Invalid workflow file

The workflow is not valid. .github/workflows/ci-tests.yml (Line: 13, Col: 9): Unexpected value 'working-directory'
- name: Install
run: npm ci
working-directory: ./smart-contract
- name: Test
run: npm run test
working-directory: ./smart-contract