Last change
on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
720 bytes
|
Line | |
---|
1 | name: Node CI
|
---|
2 | on: [push]
|
---|
3 |
|
---|
4 | jobs:
|
---|
5 | build:
|
---|
6 | runs-on: ubuntu-latest
|
---|
7 |
|
---|
8 | strategy:
|
---|
9 | matrix:
|
---|
10 | node-version: [4.x, 6.x, 8.x, 10.x, 12.x]
|
---|
11 |
|
---|
12 | steps:
|
---|
13 | - uses: actions/checkout@v1
|
---|
14 | - name: Use Node.js ${{ matrix.node-version }}
|
---|
15 | uses: actions/setup-node@v1
|
---|
16 | with:
|
---|
17 | node-version: ${{ matrix.node-version }}
|
---|
18 | - name: npm install, build, and test
|
---|
19 | run: |
|
---|
20 | npm install
|
---|
21 | mkdir -p test/keys
|
---|
22 | openssl genrsa -out test/keys/ssl.key 2048
|
---|
23 | openssl req -new -key test/keys/ssl.key -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -x509 -days 999 -out test/keys/ssl.cert
|
---|
24 | npm run build --if-present
|
---|
25 | npm test
|
---|
26 | env:
|
---|
27 | CI: true
|
---|
Note:
See
TracBrowser
for help on using the repository browser.