Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9a9b014

Browse filesBrowse files
authored
Add GitHub NodeJS workflow.
1 parent ef30414 commit 9a9b014
Copy full SHA for 9a9b014

File tree

Expand file treeCollapse file tree

1 file changed

+26
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+26
-0
lines changed
Open diff view settings
Collapse file

‎.github/workflows/nodejs.yml‎

Copy file name to clipboard
+26Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Node CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node-version: [8.x, 10.x, 12.x]
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- name: npm install, build, and test
21+
run: |
22+
npm install
23+
npm run build --if-present
24+
npm test
25+
env:
26+
CI: true

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.