Skip to content

Commit

Permalink
Merge pull request #1 from markwhitaker/convert-to-github-actions
Browse files Browse the repository at this point in the history
Add GitHub Actions workflows, remove CircleCI config.yml
  • Loading branch information
markwhitaker authored Sep 19, 2022
2 parents 2b15a76 + 660fb6e commit 3598e71
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 70 deletions.
69 changes: 0 additions & 69 deletions .circleci/config.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: Build and test
on: [push, pull_request]

jobs:
build-and-test:
name: Build and test
uses: markwhitaker/shared-workflows/.github/workflows/node-build-and-test.yml@main
10 changes: 10 additions & 0 deletions .github/workflows/build-test-and-publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Build, test and publish release
on:
release:
types: [published]

jobs:
publish-to-nuget:
name: Publish release to npm
uses: markwhitaker/shared-workflows/.github/workflows/node-publish-to-npm.yml@main
secrets: inherit
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![icon](artwork/MimeTypes-icon-100.png)

# MimeTypes.js
[![CircleCI](https://img.shields.io/circleci/build/gh/markwhitaker/MimeTypes.js)](https://circleci.com/gh/markwhitaker/MimeTypes.JS)
[![Build and test](https://github.com/markwhitaker/MimeTypes.js/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/markwhitaker/MimeTypes.js/actions/workflows/build-and-test.yml)
[![npm](https://img.shields.io/npm/v/mimetype-constants)](https://www.npmjs.com/package/mimetype-constants)
[![npm](https://img.shields.io/npm/dw/mimetype-constants)](https://www.npmjs.com/package/mimetype-constants)

Expand Down

0 comments on commit 3598e71

Please sign in to comment.