Skip to content

Commit

Permalink
Packaging into npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Gizmotronn authored Dec 12, 2021
1 parent 162788d commit b4d421e
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 5 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: SailorsPort

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm ci
- run: npm test

publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# marketplace
Marketplace repository (demo) for Star Sailors assets

<!--NPM module called "SailersPort - Star Sailor Marketplace (aka port, as in a sailor's marketplace)>
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alert("Hello, World! This is the Star Sailors marketplace package, by Skinetics.tech.");
4 changes: 2 additions & 2 deletions package-lock.json

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

23 changes: 20 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "crypto-dappy",
"version": "0.1.0",
"name": "sailorsport",
"version": "0.0.1",
"private": true,
"dependencies": {
"@onflow/fcl": "0.0.77",
Expand Down Expand Up @@ -39,5 +39,22 @@
"last 1 firefox version",
"last 1 safari version"
]
}
},
"description": "Marketplace repository (demo) for Star Sailors assets",
"main": "index.js",
"devDependencies": {},
"repository": {
"type": "git",
"url": "git+https://github.com/Signal-K/marketplace.git"
},
"keywords": [
"star-sailors",
"web3"
],
"author": "Gizmotronn",
"license": "MIT",
"bugs": {
"url": "https://github.com/Signal-K/marketplace/issues"
},
"homepage": "https://github.com/Signal-K/marketplace#readme"
}

0 comments on commit b4d421e

Please sign in to comment.