cuy-cli 1.0.6 → 2.0.1

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/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "cuy-cli",
3
- "version": "1.0.6",
3
+ "version": "2.0.1",
4
4
  "description": "Cuyuniverse Command Line Tools",
5
5
  "main": "index.js",
6
- "preferGlobal": true,
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/deaaprizal/cuy-cli"
9
+ },
7
10
  "bin": {
8
11
  "cuy-cli": "./bin/index.js"
9
12
  },
@@ -0,0 +1,33 @@
1
+ name: cuy-cli
2
+
3
+ on:
4
+ release:
5
+ types: [created]
6
+
7
+ jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - uses: actions/setup-node@v3
13
+ with:
14
+ node-version: 12
15
+ - run: npm ci
16
+ - run: npm test
17
+
18
+ publish-gpr:
19
+ needs: build
20
+ runs-on: ubuntu-latest
21
+ permissions:
22
+ packages: write
23
+ contents: read
24
+ steps:
25
+ - uses: actions/checkout@v3
26
+ - uses: actions/setup-node@v3
27
+ with:
28
+ node-version: 12
29
+ registry-url: https://npm.pkg.github.com/
30
+ - run: npm ci
31
+ - run: npm publish
32
+ env:
33
+ NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}