Skip to content

Commit

Permalink
ci: added data generation to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
khawarizmus committed Jan 12, 2024
1 parent a253456 commit ad18c35
Show file tree
Hide file tree
Showing 5 changed files with 1,248 additions and 1,149 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,7 @@ jobs:
- name: Build
run: nr build

- name: Generate Dates
run: nr date:generate
- name: Test
run: nr test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ To run the tests, run the following command
npm run test
```

To run the test with tier user interface, run the following command (this will open a browser window and generate a coverage report as well)
To run the test with a user interface, run the following command (this will open a browser window and generate a coverage report as well)

```bash
npm run test:ui
Expand Down
15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@
"sideEffects": false,
"exports": {
".": {
"types": ["./dist/index.d.ts", "./dist/Temporal.d.ts"],
"types": [
"./dist/index.d.ts",
"./dist/Temporal.d.ts"
],
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
Expand Down Expand Up @@ -77,14 +80,16 @@
"prepare": "simple-git-hooks"
},
"dependencies": {
"@js-temporal/polyfill": "^0.4.4"
"@js-temporal/polyfill": "0.4.4"
},
"devDependencies": {
"@khawarizmus/eslint-config": "^2.6.0",
"@khawarizmus/ni": "^0.21.12",
"@khawarizmus/utils": "^0.7.7",
"@antfu/eslint-config": "^2.6.0",
"@antfu/ni": "^0.21.12",
"@antfu/utils": "^0.7.7",
"@npmcli/ci-detect": "^3.0.2",
"@types/ms": "^0.7.34",
"@types/node": "^20.10.5",
"@types/npmcli__ci-detect": "^2.0.3",
"@types/prompts": "^2.4.9",
"@vitest/coverage-v8": "^1.1.3",
"@vitest/ui": "^1.1.3",
Expand Down
Loading

0 comments on commit ad18c35

Please sign in to comment.