Skip to content

Commit

Permalink
ci: add github actions CI
Browse files Browse the repository at this point in the history
Preparation for open source.
  • Loading branch information
filiptammergard committed Feb 25, 2021
1 parent d97599b commit fd95c53
Show file tree
Hide file tree
Showing 14 changed files with 2,154 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on:
push:
branches:
- master

jobs:
make:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node
uses: actions/[email protected]
with:
node-version: 12

- name: Make
run: make

release:
needs: make
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node
uses: actions/[email protected]
with:
node-version: 12

- name: Run semantic-release
run: make semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
SHELL := /bin/bash

.PHONY: all
all: \
commitlint \
prettier-markdown \
git-verify-nodiff

include tools/commitlint/rules.mk
include tools/git-verify-nodiff/rules.mk
include tools/prettier/rules.mk
include tools/semantic-release/rules.mk
Loading

0 comments on commit fd95c53

Please sign in to comment.