diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4c7c6dc..4cf8b36 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,18 +6,17 @@ jobs: ci: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 18 - - run: npm install -g markdown-toc - - run: sudo apt-get update && sudo apt-get -y install make git - - run: make toc - - run: git diff - - run: | - if [ -z "$(git status --porcelain)" ]; then - echo "No changes" - else - echo "Please update the table of contents with make toc" - exit 1 - fi + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - run: npm install + - run: make toc + - run: git diff + - run: | + if [ -z "$(git status --porcelain)" ]; then + echo "No changes" + else + echo "Please update the table of contents with make toc" + exit 1 + fi diff --git a/.gitignore b/.gitignore index 62c8935..1fe1b00 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.idea/ \ No newline at end of file +.idea/ +node_modules/