diff --git a/.github/workflows/buildAndTest.yml b/.github/workflows/buildAndTest.yml new file mode 100644 index 0000000..fa854f1 --- /dev/null +++ b/.github/workflows/buildAndTest.yml @@ -0,0 +1,26 @@ +name: 'Build and Test' + +on: + push: + branches: [ "master" ] + pull_request: {} + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 20 + - run: npm i + + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 20 + - run: npm i + - run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d46ff54..0000000 --- a/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -node_js: - - "lts/*" -install: - - npm install diff --git a/README.md b/README.md index 94a8027..7d8a0f0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # sass-rhythm -[![Build Status](https://travis-ci.org/swisnl/sass-rhythm.svg?branch=master)](https://travis-ci.org/swisnl/sass-rhythm) +[![Build Status](https://github.com/github/swisnl/sass-rhythm/workflows/buildAndTest.yml/badge.svg)](https://github.com/github/swisnl/sass-rhythm/workflows/buildAndTest.yml) [![Latest Version on NPM](https://img.shields.io/npm/v/sass-rhythm.svg)](https://www.npmjs.com/package/sass-rhythm) [![Total Downloads](https://img.shields.io/npm/dw/sass-rhythm.svg)](https://www.npmjs.com/package/sass-rhythm) [![Software License](https://img.shields.io/npm/l/sass-rhythm.svg)](https://www.npmjs.com/package/sass-rhythm)