Skip to content
Open
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/javascript-package-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Javascript Package Publish
on:
push:
tags:
- "*"
jobs:
publish:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.ACTIONS_TOKEN}}
73 changes: 38 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,43 @@
{
"name":"ytestrunner",
"author":"Krishnan Anantheswaran <kananthmail-github@yahoo.com>",
"description":"Run YUI tests for node packages using npm test with support for saving test results, coverage and more. Supports YUITest as well as YUI3 style tests.",
"version":"0.1.2",
"repository":{
"type":"git",
"url":"git://github.com/gotwarlost/ytestrunner.git"
},
"bugs":{
"url":"http://github.com/gotwarlost/ytestrunner/issues"
},
"bin":{
"ytestrunner":"lib/cli.js"
},
"scripts":{
"test":"test/run.js"
},
"engines":{
"node":">=0.4.12"
},
"dependencies":{
"mkdirp":"*",
"colors":"*",
"fileset":"*",
"nopt":"*",
"resolve":"*",
"async":"*"
},
"devDependencies":{
"rimraf":"*",
"nodeunit":"*"
},
"licenses":[
"name": "@chaordic/ytestrunner",
"author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>",
"description": "Run YUI tests for node packages using npm test with support for saving test results, coverage and more. Supports YUITest as well as YUI3 style tests.",
"version": "0.1.4-rc.0",
"repository": {
"type": "git",
"url": "git://github.com/chaordic/ytestrunner.git"
},
"publishConfig": {
"@chaordic:registry": "https://npm.pkg.github.com"
},
"bugs": {
"url": "http://github.com/gotwarlost/ytestrunner/issues"
},
"bin": {
"ytestrunner": "lib/cli.js"
},
"scripts": {
"test": "test/run.js"
},
"engines": {
"node": ">=0.4.12"
},
"dependencies": {
"mkdirp": "*",
"colors": "*",
"fileset": "*",
"nopt": "*",
"resolve": "*",
"async": "*"
},
"devDependencies": {
"rimraf": "*",
"nodeunit": "*"
},
"licenses": [
{
"type":"MIT",
"url":"http://github.com/gotwarlost/ytestrunner/raw/master/LICENSE"
"type": "MIT",
"url": "http://github.com/gotwarlost/ytestrunner/raw/master/LICENSE"
}
]
}