jacks-npm-test 1.0.0

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.
@@ -0,0 +1,19 @@
1
+ name: Publish to npm
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ publish:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+
12
+ - uses: actions/setup-node@v4
13
+ with:
14
+ node-version: 20
15
+ registry-url: https://registry.npmjs.org
16
+
17
+ - run: npm publish
18
+ env:
19
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/index.js ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ console.log('Hello, world!');
package/package.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "jacks-npm-test",
3
+ "version": "1.0.0",
4
+ "description": "A very simple package that outputs hello world",
5
+ "main": "index.js",
6
+ "bin": {
7
+ "jacks-npm-test": "index.js"
8
+ },
9
+ "license": "MIT"
10
+ }