Skip to content

Commit

Permalink
Fix lockfile for good
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Jan 17, 2025
1 parent caabc38 commit 15117be
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: denoland/setup-deno@v2 # using ourself to install deno could compromise the tests
with:
deno-version: ^2.1.6
- run: deno task cache --frozen
- run: deno install --frozen
- run: deno task test --coverage=cov_profile --no-check
- run: deno coverage cov_profile --lcov --exclude=tests/ --output=cov_profile.lcov
- uses: coverallsapp/github-action@v2
Expand Down
8 changes: 5 additions & 3 deletions deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
//--------------------------------------- ci/cd/admin
"coverage": "scripts/run-coverage.sh",
"typecheck": "deno check ./entrypoint.ts",
"compile": "deno compile --lock=deno.lock --allow-all --output \"$INIT_CWD/pkgx\" ./entrypoint.ts",
"cache": "deno cache ./entrypoint.ts src/**/*.test.ts"
"compile": "deno compile --lock=deno.lock --allow-all --output \"$INIT_CWD/pkgx\" ./entrypoint.ts"
},
"pkgx": "deno^2.1.6",
"lint": {
Expand All @@ -37,6 +36,9 @@
"is-what": "https://deno.land/x/[email protected]/src/index.ts",
"outdent": "jsr:@cspotcode/outdent@^0.8",
"pkgx": "https://deno.land/x/[email protected]/mod.ts",
"pkgx/": "https://deno.land/x/[email protected]/src/"
"pkgx/": "https://deno.land/x/[email protected]/src/",
// test dependencies
"faker": "npm:@faker-js/faker@^9.4.0",
"npm:@types/node@*": "npm:@types/node@*" // gets downloaded implictly when running tests
}
}
30 changes: 26 additions & 4 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/utils/test-utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../prefab/install.ts"
import { faker } from "npm:@faker-js/faker"
import { faker } from "faker"
import { Path } from "pkgx"

export default faker
Expand Down

0 comments on commit 15117be

Please sign in to comment.