Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing dependency installation #201

Merged
merged 1 commit into from
Sep 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '14.x'
cache: 'npm'
- name: Install NPM packages
run: npm ci
node-version: '18.6.0'
cache: 'yarn'
- name: Install packages
run: yarn
- name: Run linter
run: npm run lint
run: yarn lint
- name: Run tests with coverage report
run: npm run coverage
run: yarn coverage
- name: Private actions checkout
uses: daspn/private-actions-checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://aion-dk.github.io/js-client/",
"scripts": {
"test": "mocha --require ts-node/register/transpile-only --require source-map-support/register --recursive --extension ts ./test/*.test.ts ./test/**/*.test.ts",
"coverage": "tsc && nyc --reporter=json-summary --reporter=text npm run test",
"coverage": "tsc && nyc --reporter=json-summary --reporter=text yarn test",
"tdd": "mocha --require ts-node/register/transpile-only --require source-map-support/register --extension ts ./test/**/*.test.ts --watch --watch-files test/**/*.ts,lib/**/*.ts",
"docs": "typedoc --plugin none --out docs --includes test/",
"build": "tsc && cp lib/av_client/*.js dist/lib/av_client",
Expand Down
Loading