brignano 0.0.39 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/npm-publish.yml +33 -0
- package/card.js +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
|
3
|
+
|
|
4
|
+
name: Node.js Package
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
release:
|
|
8
|
+
types: [created]
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v3
|
|
15
|
+
- uses: actions/setup-node@v3
|
|
16
|
+
with:
|
|
17
|
+
node-version: 16
|
|
18
|
+
- run: npm ci
|
|
19
|
+
# - run: npm test
|
|
20
|
+
|
|
21
|
+
publish-npm:
|
|
22
|
+
needs: build
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@v3
|
|
26
|
+
- uses: actions/setup-node@v3
|
|
27
|
+
with:
|
|
28
|
+
node-version: 16
|
|
29
|
+
registry-url: https://registry.npmjs.org/
|
|
30
|
+
- run: npm ci
|
|
31
|
+
- run: npm publish
|
|
32
|
+
env:
|
|
33
|
+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
package/card.js
CHANGED
|
@@ -59,7 +59,7 @@ const questions = [
|
|
|
59
59
|
const data = {
|
|
60
60
|
name: chalk.bold.green(" Anthony Brignano"),
|
|
61
61
|
handle: chalk.white("@brignano"),
|
|
62
|
-
work: `${chalk.white("Sr. Software Engineer at")} ${chalk
|
|
62
|
+
work: `${chalk.white("Sr. Staff Software Engineer at")} ${chalk
|
|
63
63
|
.hex("#3A5A78")
|
|
64
64
|
.bold("The Hartford")}`,
|
|
65
65
|
github: chalk.gray("https://github.com/") + chalk.green("brignano"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brignano",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.40",
|
|
4
4
|
"main": "card.js",
|
|
5
5
|
"bin": {
|
|
6
6
|
"anthony": "card.js"
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
},
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/brignano/
|
|
13
|
+
"url": "git+https://github.com/brignano/npx-brignano.git"
|
|
14
14
|
},
|
|
15
15
|
"author": "Anthony Brignano <anthonybrignano@gmail.com> (https://brignano.io/)",
|
|
16
16
|
"license": "ISC",
|
|
17
17
|
"bugs": {
|
|
18
|
-
"url": "https://github.com/brignano/
|
|
18
|
+
"url": "https://github.com/brignano/npx-brignano/issues"
|
|
19
19
|
},
|
|
20
|
-
"homepage": "https://github.com/brignano/
|
|
20
|
+
"homepage": "https://github.com/brignano/npx-brignano#readme",
|
|
21
21
|
"keywords": [],
|
|
22
22
|
"description": "A personal card for Anthony Brignano (@brignano)",
|
|
23
23
|
"dependencies": {
|