cmyr-template-cli 1.18.0 → 1.18.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
|
@@ -11,23 +11,28 @@ jobs:
|
|
|
11
11
|
- uses: actions/checkout@v3
|
|
12
12
|
with:
|
|
13
13
|
persist-credentials: false
|
|
14
|
+
- name: Setup pnpm
|
|
15
|
+
uses: pnpm/action-setup@v2
|
|
16
|
+
with:
|
|
17
|
+
version: "latest"
|
|
14
18
|
- name: Setup Node.js environment
|
|
15
19
|
uses: actions/setup-node@v3
|
|
16
20
|
with:
|
|
17
21
|
node-version: "lts/*"
|
|
18
|
-
- name:
|
|
19
|
-
|
|
20
|
-
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
|
21
|
-
- uses: actions/cache@v3
|
|
22
|
-
id: yarn-cache
|
|
22
|
+
- name: Cache Dependency
|
|
23
|
+
uses: actions/cache@v3
|
|
23
24
|
with:
|
|
24
|
-
path:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
path: |
|
|
26
|
+
~/.npm
|
|
27
|
+
~/cache
|
|
28
|
+
!~/cache/exclude
|
|
29
|
+
**/node_modules
|
|
30
|
+
key: pnpm-${{ runner.os }}-${{ hashFiles('package.json') }}
|
|
31
|
+
restore-keys: pnpm-${{ runner.os }}
|
|
32
|
+
- run: pnpm i --fix-lockfile
|
|
33
|
+
- run: pnpm run lint
|
|
34
|
+
- run: pnpm run build
|
|
30
35
|
- env:
|
|
31
36
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
32
37
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
33
|
-
run:
|
|
38
|
+
run: pnpm run release
|
|
@@ -6,19 +6,24 @@ jobs:
|
|
|
6
6
|
runs-on: ubuntu-latest
|
|
7
7
|
steps:
|
|
8
8
|
- uses: actions/checkout@v3
|
|
9
|
+
- name: Setup pnpm
|
|
10
|
+
uses: pnpm/action-setup@v2
|
|
11
|
+
with:
|
|
12
|
+
version: "latest"
|
|
9
13
|
- name: Setup Node.js@lts environment
|
|
10
14
|
uses: actions/setup-node@v3
|
|
11
15
|
with:
|
|
12
16
|
node-version: "lts/*"
|
|
13
|
-
- name:
|
|
14
|
-
|
|
15
|
-
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
|
16
|
-
- uses: actions/cache@v3
|
|
17
|
-
id: yarn-cache
|
|
17
|
+
- name: Cache Dependency
|
|
18
|
+
uses: actions/cache@v3
|
|
18
19
|
with:
|
|
19
|
-
path:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
path: |
|
|
21
|
+
~/.npm
|
|
22
|
+
~/cache
|
|
23
|
+
!~/cache/exclude
|
|
24
|
+
**/node_modules
|
|
25
|
+
key: pnpm-${{ runner.os }}-${{ hashFiles('package.json') }}
|
|
26
|
+
restore-keys: pnpm-${{ runner.os }}
|
|
27
|
+
- run: pnpm i --fix-lockfile
|
|
28
|
+
- run: pnpm run lint
|
|
29
|
+
- run: pnpm run build
|