Skip to content

Commit

Permalink
Publish to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Nov 13, 2020
1 parent bd43d24 commit 896786d
Show file tree
Hide file tree
Showing 4 changed files with 132 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: release

on:
push:
tags:
- 'v*'

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
84 changes: 84 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Parts of this file were adapted from
# GitHub’s collection of .gitignore file templates
# which are Copyright (c) 2018 GitHub, Inc.
# and released under the MIT License.
# For more details, visit the project page:
# https://github.com/github/gitignore

# Lockfiles (no dependences)
package-lock.json
yarn.lock

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
_Forked from [mokasin/apw](https://github.com/mokasin/apw)_

Be aware that…
-----------
…this project is not developed any longer, nor do I use awesome. It still
Expand Down
26 changes: 26 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "@rxrc/apw",
"version": "0.0.0",
"description": "Awesome Pulseaudio Widget",
"homepage": "https://github.com/rxrc/apw",
"bugs": "https://github.com/rxrc/apw/issues",
"repository": "rxrc/apw",
"author": {
"name": "mokasin",
"email": "[email protected]"
},
"contributors": [
{
"name": "Evan Sosenko",
"email": "[email protected]"
}
],
"files": [
"pulseaudio.lua",
"widget.lua"
],
"scripts": {
"test": "true",
"postversion": "git push && git push --tags"
}
}

0 comments on commit 896786d

Please sign in to comment.