Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Jun 5, 2020
1 parent 2c05060 commit 8cded64
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
25 changes: 25 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "@taufik-nurrohman/highlight.ln.js",
"description": "Line number plugin for Highlight.js",
"version": "1.0.0",
"main": "highlight.ln.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/taufik-nurrohman/highlight.ln.js.git"
},
"keywords": [
"highlight",
"highlightjs",
"plugin",
"syntax"
],
"author": "Taufik Nurrohman",
"license": "BSD",
"bugs": {
"url": "https://github.com/taufik-nurrohman/highlight.ln.js/issues"
},
"homepage": "https://taufik-nurrohman.github.io/highlight.ln.js/index.html"
}

0 comments on commit 8cded64

Please sign in to comment.