-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CI workflow for quick_start_express. (#56)
* Add GitHub Actions CI to run Jest tests on push to main. * Fix bug to remove redundant `-`. * Remove `npm cache` option. * Update runJestTests.yml * Update runJestTests.yml * Simulate a test failure to verify if the CI works. * Yayy CI works. Removing the test simulation to restore. * Add actions passing badge to README. * Fix passing badge in README. * Customize name of job to be self-explanatory.
- Loading branch information
1 parent
f3b15ad
commit da5a32d
Showing
2 changed files
with
27 additions
and
0 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,26 @@ | ||
name: quick_start_express CI | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
run_jest_tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repository. | ||
uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js LTS. | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '22.x' | ||
|
||
- name: Install Dependencies. | ||
run: npm i | ||
|
||
- name: Run Jest 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