Skip to content

Commit

Permalink
feat: mock commands for test and util
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvdbrug committed Nov 12, 2024
1 parent f4cf906 commit 5b32939
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: echo "dirs=$(ls -d packages/*/ | jq --raw-input --slurp --compact-output 'split("\n")[:-1]')" >> ${GITHUB_OUTPUT}
test:
needs: collect_dirs
name: Test and lint ${{ matrix.package }}
name: ${{ matrix.package }}
runs-on: ubuntu-latest
defaults:
run:
Expand Down
5 changes: 4 additions & 1 deletion packages/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"private": true,
"scripts": {
"generate": "graphql-codegen --config codegen.yml",
"start": "ts-node ./src/dev-server.ts"
"start": "ts-node ./src/dev-server.ts",
"build": "echo 'Not meant to be built'",
"lint": "echo 'Not meant to be linted'",
"test": "echo 'No test implemented'"
}
}
7 changes: 6 additions & 1 deletion packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
"version": "1.0.2",
"main": "index.ts",
"license": "MIT",
"private": true
"private": true,
"scripts": {
"build": "echo 'Not meant to be built'",
"lint": "echo 'Not meant to be linted'",
"test": "echo 'No test implemented'"
}
}

0 comments on commit 5b32939

Please sign in to comment.