diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 0000000..f81dd1b --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,27 @@ +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: Install Yarn + run: npm install -g yarn + - name: yarn install, and test + run: | + yarn --frozen-lockfile + yarn test + env: + CI: true diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 16c2e02..0000000 --- a/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: node_js -node_js: '8' -cache: - yarn: true - directories: - - node_modules diff --git a/README.md b/README.md index eafaca4..368fc68 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Lego [![Build Status](https://travis-ci.org/astronomersiva/lego.svg?branch=master)](https://travis-ci.org/astronomersiva/lego) +# Lego A fast Static Site Generator that generates optimised, performant websites.