-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from lassijjk/AnisulMahmud-patch-3
Update node.js.yml in main
- Loading branch information
Showing
1 changed file
with
32 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 |
---|---|---|
@@ -1 +1,33 @@ | ||
name: CI pipeline | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14 # Adjust the version as needed | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
# - name: Run tests | ||
# run: npm test | ||
|
||
# - name: Generate Code Coverage | ||
# run: npm run coverage # Assuming you have a script for running tests with coverage | ||
|
||
# - name: Upload Code Coverage Results | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: coverage | ||
# path: coverage |