Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open
egg-ajv
Commits
c48063c3
Unverified
Commit
c48063c3
authored
5 years ago
by
赵培然
🚴🏻
Committed by
GitHub
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Create nodejs.yml
parent
c2c4f40d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
.github/workflows/nodejs.yml
.github/workflows/nodejs.yml
+26
-0
No files found.
.github/workflows/nodejs.yml
0 → 100644
View file @
c48063c3
name
:
Node CI
on
:
[
push
]
jobs
:
build
:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
node-version
:
[
8.x
,
10.x
,
12.x
]
steps
:
-
uses
:
actions/checkout@v1
-
name
:
Use Node.js ${{ matrix.node-version }}
uses
:
actions/setup-node@v1
with
:
node-version
:
${{ matrix.node-version }}
-
name
:
npm install, build, and test
run
:
|
npm ci
npm run build --if-present
npm test
env
:
CI
:
true
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment