Skip to content

Commit b2ceaeb

Browse files
authored
Merge pull request #1538 from bourgeoa/master
Add github actions (#1)
2 parents 760615e + ffa6543 commit b2ceaeb

File tree

2 files changed

+37
-42
lines changed

2 files changed

+37
-42
lines changed

.github/workflows/ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: CI
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ${{ matrix.os }}
16+
17+
strategy:
18+
matrix:
19+
node-version: [10.x, 12.x, 14.x]
20+
os: [ubuntu-latest]
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Use Node.js ${{ matrix.node-version }}
25+
uses: actions/setup-node@v1
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
- run: npm ci
29+
# test code
30+
- run: npm run standard
31+
- run: npm run validate
32+
- run: npm run nyc
33+
# Test global install of the package
34+
- run: npm pack .
35+
- run: npm install -g solid-server-*.tgz
36+
# Run the Solid test-suite
37+
- run: bash test/surface/run-solid-test-suite.sh

.travis.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)