Skip to content

Commit

Permalink
Add github actions (#1)
Browse files Browse the repository at this point in the history
* Add github actions
  • Loading branch information
bourgeoa authored Dec 9, 2020
1 parent bbee06e commit ffa6543
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 42 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 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: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
# test code
- run: npm run standard
- run: npm run validate
- run: npm run nyc
# Test global install of the package
- run: npm pack .
- run: npm install -g solid-server-*.tgz
# Run the Solid test-suite
- run: bash test/surface/run-solid-test-suite.sh
42 changes: 0 additions & 42 deletions .travis.yml

This file was deleted.

0 comments on commit ffa6543

Please sign in to comment.