Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/npm_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
release:
types: [released]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# "ref" specifies the branch to check out.
# "github.event.release.target_commitish" is a global variable and specifies the branch the release targeted
ref: ${{ github.event.release.target_commitish }}
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/ # Specifies the registry, this field is required!
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,4 +259,5 @@ As an example, let's assume you have created the svgs for Redhat and Amazon Web
<li>Ensure code quality is up to standard</li>
<li>Upload svgs to <a href="https://icomoon.io/app/#/select">icomoon.io</a> and take a screenshot to check that it looks good.
<li>Comment on the PR so maintainers don't have to manually upload icon result.</li>
<li>Publishing a new release to <a href="https://www.npmjs.com/package/devicon">npm</a>; See <a href="https://github.com/devicons/devicon/issues/288">#288</a></li>
</ul>
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devicon",
"version": "2.2.0",
"version": "2.9.0",
"description": "Programming related icons collection",
"main": "devicon.min.css",
"scripts": {
Expand All @@ -10,20 +10,20 @@
},
"repository": {
"type": "git",
"url": "https://github.com/konpa/devicon.git"
"url": "https://github.com/devicons/devicon.git"
},
"keywords": [
"programming",
"icons",
"svg",
"font"
],
"author": "konpa",
"author": "devicons",
"license": "MIT",
"bugs": {
"url": "https://github.com/konpa/devicon/issues"
"url": "https://github.com/devicons/devicon/issues"
},
"homepage": "http://konpa.github.io/devicon/",
"homepage": "https://devicon.dev",
"devDependencies": {
"gulp": "^4.0.0",
"gulp-sass": "^4.1.0",
Expand Down