Skip to content

Commit

Permalink
Merge pull request #34 from interline-io/gh-actions
Browse files Browse the repository at this point in the history
use GitHub Actions to test (instead of CircleCI), also use Gren for release notes
  • Loading branch information
drewda authored Apr 1, 2021
2 parents 2dee384 + 50637b0 commit 432a0df
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 10 deletions.
9 changes: 0 additions & 9 deletions .circleci/config.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/test-and-release-notes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Test & Release Notes"
on:
push:
branches:
- '*'
release:
types:
- created
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build container (which includes running tests)
run: docker build .
# Docker Hub does actual build for release
release-notes:
needs: test
if: ${{ github.event_name == 'release' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: npm install github-release-notes -g
- run: gren release --override
env:
GREN_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[![current release version](https://img.shields.io/github/release/interline-io/planetutils.svg)](https://github.com/interline-io/planetutils/releases)
[![Docker Hub container image build status](https://img.shields.io/docker/cloud/build/interline/planetutils.svg)](https://hub.docker.com/r/interline/planetutils/)
[![CircleCI code test status](https://circleci.com/gh/interline-io/planetutils.svg?style=svg)](https://circleci.com/gh/interline-io/planetutils)

# Interline PlanetUtils

Expand Down

0 comments on commit 432a0df

Please sign in to comment.