Skip to content

Commit

Permalink
chore: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sastan committed Jun 20, 2020
1 parent 4c9090c commit 9df82f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Package
name: NPM Publish

on:
release:
types: [created]

jobs:
publish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# This workflow will do a clean install of node dependencies and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI
name: Test

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
_This is most likely only useful for libraries like [svelte-jsx](https://www.npmjs.com/package/svelte-jsx) or [svelte-htm](https://www.npmjs.com/package/svelte-htm)._

![Node.js CI](https://github.com/sastan/svelte-fragment-component/workflows/Node.js%20CI/badge.svg) [![GitHub license](https://img.shields.io/github/license/sastan/svelte-fragment-component)](https://github.com/sastan/svelte-fragment-component/blob/main/LICENSE) [![NPM version](https://img.shields.io/npm/v/svelte-fragment-component.svg?style=flat)](https://www.npmjs.com/package/svelte-fragment-component) [![NPM downloads](https://img.shields.io/npm/dm/svelte-fragment-component.svg?style=flat)](https://www.npmjs.com/package/svelte-fragment-component)
![Test](https://github.com/sastan/svelte-fragment-component/workflows/Test/badge.svg) [![GitHub license](https://img.shields.io/github/license/sastan/svelte-fragment-component)](https://github.com/sastan/svelte-fragment-component/blob/main/LICENSE) [![NPM version](https://img.shields.io/npm/v/svelte-fragment-component.svg?style=flat)](https://www.npmjs.com/package/svelte-fragment-component) [![NPM downloads](https://img.shields.io/npm/dm/svelte-fragment-component.svg?style=flat)](https://www.npmjs.com/package/svelte-fragment-component)

## Installation

Expand Down

0 comments on commit 9df82f7

Please sign in to comment.