-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated packages in Closing The Books examples
- Loading branch information
1 parent
979c37f
commit 7fa829e
Showing
102 changed files
with
5,540 additions
and
7,786 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Samples - Closing the Books | ||
|
||
on: | ||
# run it on push to the default repository branch | ||
push: | ||
branches: [main] | ||
paths: | ||
- "samples/closingTheBooks/**" | ||
# run it during pull request | ||
pull_request: | ||
paths: | ||
- "samples/closingTheBooks/**" | ||
|
||
defaults: | ||
run: | ||
# relative path to the place where source code (with package.json) is located | ||
working-directory: samples/closingTheBooks | ||
|
||
jobs: | ||
build-and-test-code: | ||
name: Build and test application code | ||
# use system defined below in the tests matrix | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
# define the test matrix | ||
matrix: | ||
# selected operation systems to run CI | ||
os: [ubuntu-latest] #, windows-latest, macos-latest] | ||
# selected node version to run CI | ||
node-version: [20.10.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
# use the node version defined in matrix above | ||
node-version: ${{ matrix.node-version }} | ||
# install dependencies | ||
- run: npm ci | ||
# run linting (ESlint and Prettier) | ||
- run: npm run lint | ||
# run build | ||
- run: npm run build:ts | ||
# run tests | ||
- run: npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,6 @@ dist/*coverage/* | |
**/*.d.ts | ||
|
||
# custom definition files | ||
/src/types/ | ||
/src/types/ | ||
|
||
!.eslintrc.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,4 @@ | |
"typescript": {} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
**/dist/ | ||
**/lib/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.