Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
Convert to Github Actions (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewturner authored Sep 5, 2023
1 parent f30a81b commit 829ced6
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 7 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Node.js CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[![Maintainability](https://api.codeclimate.com/v1/badges/02e959824d4ab7814ffc/maintainability)](https://codeclimate.com/github/matthewturner/smartheat-core/maintainability) [![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com) [![Codeship Status for matthewturner/smartheat-core](https://app.codeship.com/projects/1eefe2c0-e05f-0137-2899-12a315aacd2b/status?branch=master)](https://app.codeship.com/projects/372418)
# SmartHeat Core

# SmartHeat Core
[![Node.js CI](https://github.com/matthewturner/smartheat-core/actions/workflows/node.js.yml/badge.svg)](https://github.com/matthewturner/smartheat-core/actions/workflows/node.js.yml) [![CodeQL](https://github.com/matthewturner/smartheat-core/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/matthewturner/smartheat-core/actions/workflows/github-code-scanning/codeql) [![Maintainability](https://api.codeclimate.com/v1/badges/02e959824d4ab7814ffc/maintainability)](https://codeclimate.com/github/matthewturner/smartheat-core/maintainability) [![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)
2 changes: 0 additions & 2 deletions codeship-services.yml

This file was deleted.

3 changes: 0 additions & 3 deletions codeship-steps.yml

This file was deleted.

0 comments on commit 829ced6

Please sign in to comment.