FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
core-validate-commit/.github/workflows/node.js.yml at main · nodejs/core-validate-commit · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
nodejs
/
core-validate-commit
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
61
Star
55
Code
Issues
7
Pull requests
9
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
core-validate-commit
/
.github
/
workflows
/
node.js.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
28 lines (25 loc) · 1.01 KB
Breadcrumbs
core-validate-commit
/
.github
/
workflows
/
node.js.yml
Copy path
File metadata and controls
28 lines (25 loc) · 1.01 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
#
For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name
:
Node.js CI
on
:
push
:
branches
:
[ main ]
pull_request
:
branches
:
[ main ]
jobs
:
test
:
name
:
Test on Node.js
uses
:
pkgjs/action/.github/workflows/node-test.yaml@v0
with
:
#
We need to fetch some specific commits that we are using in our tests. We also need `--deepen=2` for CodCov.
post-checkout-steps
:
|
- run: git fetch --deepen=2 origin 2b98d02b52a0abe98054eccb351e1e5c71c81bb0 69435db261650dfc74ede6dca89acbe97ba30081
shell: bash
post-install-steps
:
|
- run: npm run build --if-present
shell: bash
test-command
:
npm run test-ci
post-test-steps
:
|
- name: Upload coverage report to Codecov
run: bash <(curl -s https://codecov.io/bash)
shell: bash
Back
|
FazBrowse Home
|
New Git URL