Skip to content

Commit

Permalink
use action setup-git-annex
Browse files Browse the repository at this point in the history
  • Loading branch information
jstritch committed May 4, 2023
1 parent 9748793 commit 3490207
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install git-annex
uses: jstritch/setup-git-annex@master
- name: Install easy-git-annex
run: npm ci
- name: Lint the source
run: npm run lint
- name: Build
run: npm run build
- name: Run automated tests
run: npm run test:ci
run: npm run test
- name: Generate documentation
run: npm run typedoc
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Here are some suggestions to help you get started.

1. Update the tests as necessary.
1. The script `npm run test` runs all tests.
1. The script `npm run test:ci` skips the git-annex tests.
1. The script `npm run test:noanx` skips the git-annex tests.
1. To view test coverage, use the command `npm run test:coverage`.

# Documentation
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"lint": "npx eslint --ext .ts,.js,.json --ignore-path .gitignore .",
"test": "npx jest",
"test:badge": "npm run test:coverage && npx make-coverage-badge",
"test:ci": "npx jest --testPathIgnorePatterns=/tests/commands-anx/",
"test:noanx": "npx jest --testPathIgnorePatterns=/tests/commands-anx/",
"test:coverage": "npx jest --collectCoverage",
"typedoc": "npx typedoc && git checkout --quiet HEAD ./docs/_config.yml",
"yalc": "yalc publish --no-scripts --push",
Expand Down

0 comments on commit 3490207

Please sign in to comment.