create-raredays-app 0.1.5 → 0.1.6
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/README.md +1 -1
- package/package.json +1 -1
- package/templates/client/_github/actions/setup/action.yml +37 -0
- package/templates/client/_github/workflows/ci.yml +21 -28
- package/templates/client/_github/workflows/coverage.yml +3 -4
- package/templates/client/_github/workflows/security.yml +3 -4
- package/templates/full-stack/_github/actions/setup/action.yml +37 -0
- package/templates/full-stack/_github/workflows/ci.yml +21 -28
- package/templates/full-stack/_github/workflows/coverage.yml +3 -4
- package/templates/full-stack/_github/workflows/db-check.yml +2 -5
- package/templates/full-stack/_github/workflows/db-migrate.yml +2 -5
- package/templates/full-stack/_github/workflows/security.yml +3 -4
- package/templates/static/_github/actions/setup/action.yml +37 -0
- package/templates/static/_github/workflows/ci.yml +18 -24
- package/templates/static/_github/workflows/security.yml +3 -4
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ Presets set the template, modules, and brand color. You can still customise disp
|
|
|
49
49
|
## What it does
|
|
50
50
|
|
|
51
51
|
1. Copies `templates/<name>/` into the target directory.
|
|
52
|
-
2. Renames stub files (`_gitignore` -> `.gitignore`, `
|
|
52
|
+
2. Renames stub files (`_gitignore` -> `.gitignore`, `_github` -> `.github`).
|
|
53
53
|
3. Sets `package.json:name` to the project slug.
|
|
54
54
|
4. Substitutes `__SLUG__` in `site.spec.ts` and applies display name, domain, and brand color.
|
|
55
55
|
5. Loads scaffold fragments for selected modules (imports, config, ports, file overlays).
|
package/package.json
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
name: Setup
|
|
2
|
+
description: >-
|
|
3
|
+
Install pnpm and Node, authenticate to the private @raredays npm registry, then
|
|
4
|
+
install dependencies. The @raredays/* packages are published with restricted
|
|
5
|
+
access, so the registry token must be present before install. pnpm ignores
|
|
6
|
+
${VAR} interpolation in a committed project .npmrc (it could leak the token to
|
|
7
|
+
an attacker-controlled registry), so the token is written to the user-level
|
|
8
|
+
~/.npmrc at runtime instead.
|
|
9
|
+
|
|
10
|
+
inputs:
|
|
11
|
+
node-auth-token:
|
|
12
|
+
description: >-
|
|
13
|
+
npm token with read access to the private @raredays registry. Pass it from
|
|
14
|
+
the NODE_AUTH_TOKEN repository secret.
|
|
15
|
+
required: true
|
|
16
|
+
|
|
17
|
+
runs:
|
|
18
|
+
using: composite
|
|
19
|
+
steps:
|
|
20
|
+
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
|
|
21
|
+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
22
|
+
with:
|
|
23
|
+
node-version: 24
|
|
24
|
+
cache: pnpm
|
|
25
|
+
- name: Authenticate to the npm registry
|
|
26
|
+
shell: bash
|
|
27
|
+
env:
|
|
28
|
+
NODE_AUTH_TOKEN: ${{ inputs.node-auth-token }}
|
|
29
|
+
run: |
|
|
30
|
+
if [ -z "$NODE_AUTH_TOKEN" ]; then
|
|
31
|
+
echo "::error::NODE_AUTH_TOKEN is empty. Add a repository secret with an npm token that has read access to the private @raredays registry."
|
|
32
|
+
exit 1
|
|
33
|
+
fi
|
|
34
|
+
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
|
|
35
|
+
- name: Install dependencies
|
|
36
|
+
shell: bash
|
|
37
|
+
run: pnpm install --frozen-lockfile
|
|
@@ -26,10 +26,9 @@ jobs:
|
|
|
26
26
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
27
27
|
with:
|
|
28
28
|
persist-credentials: false
|
|
29
|
-
- uses:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- run: pnpm install --frozen-lockfile
|
|
29
|
+
- uses: ./.github/actions/setup
|
|
30
|
+
with:
|
|
31
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
33
32
|
- run: pnpm lint
|
|
34
33
|
|
|
35
34
|
format-check:
|
|
@@ -40,10 +39,9 @@ jobs:
|
|
|
40
39
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
41
40
|
with:
|
|
42
41
|
persist-credentials: false
|
|
43
|
-
- uses:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
- run: pnpm install --frozen-lockfile
|
|
42
|
+
- uses: ./.github/actions/setup
|
|
43
|
+
with:
|
|
44
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
47
45
|
- run: pnpm format:check
|
|
48
46
|
|
|
49
47
|
style:
|
|
@@ -54,10 +52,9 @@ jobs:
|
|
|
54
52
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
55
53
|
with:
|
|
56
54
|
persist-credentials: false
|
|
57
|
-
- uses:
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
- run: pnpm install --frozen-lockfile
|
|
55
|
+
- uses: ./.github/actions/setup
|
|
56
|
+
with:
|
|
57
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
61
58
|
- run: pnpm style
|
|
62
59
|
|
|
63
60
|
typecheck:
|
|
@@ -68,10 +65,9 @@ jobs:
|
|
|
68
65
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
69
66
|
with:
|
|
70
67
|
persist-credentials: false
|
|
71
|
-
- uses:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
- run: pnpm install --frozen-lockfile
|
|
68
|
+
- uses: ./.github/actions/setup
|
|
69
|
+
with:
|
|
70
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
75
71
|
- run: pnpm theme:build
|
|
76
72
|
- run: pnpm typecheck
|
|
77
73
|
|
|
@@ -83,10 +79,9 @@ jobs:
|
|
|
83
79
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
84
80
|
with:
|
|
85
81
|
persist-credentials: false
|
|
86
|
-
- uses:
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
- run: pnpm install --frozen-lockfile
|
|
82
|
+
- uses: ./.github/actions/setup
|
|
83
|
+
with:
|
|
84
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
90
85
|
- run: pnpm theme:build
|
|
91
86
|
- run: pnpm test
|
|
92
87
|
|
|
@@ -98,10 +93,9 @@ jobs:
|
|
|
98
93
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
99
94
|
with:
|
|
100
95
|
persist-credentials: false
|
|
101
|
-
- uses:
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
- run: pnpm install --frozen-lockfile
|
|
96
|
+
- uses: ./.github/actions/setup
|
|
97
|
+
with:
|
|
98
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
105
99
|
- run: pnpm build
|
|
106
100
|
|
|
107
101
|
storybook:
|
|
@@ -112,10 +106,9 @@ jobs:
|
|
|
112
106
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
113
107
|
with:
|
|
114
108
|
persist-credentials: false
|
|
115
|
-
- uses:
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
- run: pnpm install --frozen-lockfile
|
|
109
|
+
- uses: ./.github/actions/setup
|
|
110
|
+
with:
|
|
111
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
119
112
|
- run: pnpm theme:build
|
|
120
113
|
- run: pnpm storybook:build
|
|
121
114
|
|
|
@@ -26,10 +26,9 @@ jobs:
|
|
|
26
26
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
27
27
|
with:
|
|
28
28
|
persist-credentials: false
|
|
29
|
-
- uses:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- run: pnpm install --frozen-lockfile
|
|
29
|
+
- uses: ./.github/actions/setup
|
|
30
|
+
with:
|
|
31
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
33
32
|
- run: pnpm theme:build
|
|
34
33
|
- run: pnpm coverage
|
|
35
34
|
- name: Upload coverage report
|
|
@@ -26,9 +26,8 @@ jobs:
|
|
|
26
26
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
27
27
|
with:
|
|
28
28
|
persist-credentials: false
|
|
29
|
-
- uses:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- run: pnpm install --frozen-lockfile
|
|
29
|
+
- uses: ./.github/actions/setup
|
|
30
|
+
with:
|
|
31
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
33
32
|
- name: Audit production dependencies
|
|
34
33
|
run: pnpm audit --audit-level=high --prod
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
name: Setup
|
|
2
|
+
description: >-
|
|
3
|
+
Install pnpm and Node, authenticate to the private @raredays npm registry, then
|
|
4
|
+
install dependencies. The @raredays/* packages are published with restricted
|
|
5
|
+
access, so the registry token must be present before install. pnpm ignores
|
|
6
|
+
${VAR} interpolation in a committed project .npmrc (it could leak the token to
|
|
7
|
+
an attacker-controlled registry), so the token is written to the user-level
|
|
8
|
+
~/.npmrc at runtime instead.
|
|
9
|
+
|
|
10
|
+
inputs:
|
|
11
|
+
node-auth-token:
|
|
12
|
+
description: >-
|
|
13
|
+
npm token with read access to the private @raredays registry. Pass it from
|
|
14
|
+
the NODE_AUTH_TOKEN repository secret.
|
|
15
|
+
required: true
|
|
16
|
+
|
|
17
|
+
runs:
|
|
18
|
+
using: composite
|
|
19
|
+
steps:
|
|
20
|
+
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
|
|
21
|
+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
22
|
+
with:
|
|
23
|
+
node-version: 24
|
|
24
|
+
cache: pnpm
|
|
25
|
+
- name: Authenticate to the npm registry
|
|
26
|
+
shell: bash
|
|
27
|
+
env:
|
|
28
|
+
NODE_AUTH_TOKEN: ${{ inputs.node-auth-token }}
|
|
29
|
+
run: |
|
|
30
|
+
if [ -z "$NODE_AUTH_TOKEN" ]; then
|
|
31
|
+
echo "::error::NODE_AUTH_TOKEN is empty. Add a repository secret with an npm token that has read access to the private @raredays registry."
|
|
32
|
+
exit 1
|
|
33
|
+
fi
|
|
34
|
+
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
|
|
35
|
+
- name: Install dependencies
|
|
36
|
+
shell: bash
|
|
37
|
+
run: pnpm install --frozen-lockfile
|
|
@@ -30,10 +30,9 @@ jobs:
|
|
|
30
30
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
31
31
|
with:
|
|
32
32
|
persist-credentials: false
|
|
33
|
-
- uses:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
- run: pnpm install --frozen-lockfile
|
|
33
|
+
- uses: ./.github/actions/setup
|
|
34
|
+
with:
|
|
35
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
37
36
|
- run: pnpm lint
|
|
38
37
|
|
|
39
38
|
format-check:
|
|
@@ -44,10 +43,9 @@ jobs:
|
|
|
44
43
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
45
44
|
with:
|
|
46
45
|
persist-credentials: false
|
|
47
|
-
- uses:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
- run: pnpm install --frozen-lockfile
|
|
46
|
+
- uses: ./.github/actions/setup
|
|
47
|
+
with:
|
|
48
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
51
49
|
- run: pnpm format:check
|
|
52
50
|
|
|
53
51
|
style:
|
|
@@ -58,10 +56,9 @@ jobs:
|
|
|
58
56
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
59
57
|
with:
|
|
60
58
|
persist-credentials: false
|
|
61
|
-
- uses:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
- run: pnpm install --frozen-lockfile
|
|
59
|
+
- uses: ./.github/actions/setup
|
|
60
|
+
with:
|
|
61
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
65
62
|
- run: pnpm style
|
|
66
63
|
|
|
67
64
|
typecheck:
|
|
@@ -72,10 +69,9 @@ jobs:
|
|
|
72
69
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
73
70
|
with:
|
|
74
71
|
persist-credentials: false
|
|
75
|
-
- uses:
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
- run: pnpm install --frozen-lockfile
|
|
72
|
+
- uses: ./.github/actions/setup
|
|
73
|
+
with:
|
|
74
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
79
75
|
- run: pnpm theme:build
|
|
80
76
|
- run: pnpm typecheck
|
|
81
77
|
|
|
@@ -87,10 +83,9 @@ jobs:
|
|
|
87
83
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
88
84
|
with:
|
|
89
85
|
persist-credentials: false
|
|
90
|
-
- uses:
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
- run: pnpm install --frozen-lockfile
|
|
86
|
+
- uses: ./.github/actions/setup
|
|
87
|
+
with:
|
|
88
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
94
89
|
- run: pnpm theme:build
|
|
95
90
|
- run: pnpm test
|
|
96
91
|
|
|
@@ -102,10 +97,9 @@ jobs:
|
|
|
102
97
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
103
98
|
with:
|
|
104
99
|
persist-credentials: false
|
|
105
|
-
- uses:
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
- run: pnpm install --frozen-lockfile
|
|
100
|
+
- uses: ./.github/actions/setup
|
|
101
|
+
with:
|
|
102
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
109
103
|
- run: pnpm build
|
|
110
104
|
|
|
111
105
|
storybook:
|
|
@@ -116,10 +110,9 @@ jobs:
|
|
|
116
110
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
117
111
|
with:
|
|
118
112
|
persist-credentials: false
|
|
119
|
-
- uses:
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
- run: pnpm install --frozen-lockfile
|
|
113
|
+
- uses: ./.github/actions/setup
|
|
114
|
+
with:
|
|
115
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
123
116
|
- run: pnpm theme:build
|
|
124
117
|
- run: pnpm storybook:build
|
|
125
118
|
|
|
@@ -26,10 +26,9 @@ jobs:
|
|
|
26
26
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
27
27
|
with:
|
|
28
28
|
persist-credentials: false
|
|
29
|
-
- uses:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- run: pnpm install --frozen-lockfile
|
|
29
|
+
- uses: ./.github/actions/setup
|
|
30
|
+
with:
|
|
31
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
33
32
|
- run: pnpm theme:build
|
|
34
33
|
- run: pnpm coverage
|
|
35
34
|
- name: Upload coverage report
|
|
@@ -29,12 +29,9 @@ jobs:
|
|
|
29
29
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
30
30
|
with:
|
|
31
31
|
persist-credentials: false
|
|
32
|
-
- uses:
|
|
33
|
-
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
32
|
+
- uses: ./.github/actions/setup
|
|
34
33
|
with:
|
|
35
|
-
node-
|
|
36
|
-
cache: pnpm
|
|
37
|
-
- run: pnpm install --frozen-lockfile
|
|
34
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
38
35
|
- name: Validate migrations
|
|
39
36
|
env:
|
|
40
37
|
DATABASE_URL: ${{ secrets.DATABASE_URL_STAGING }}
|
|
@@ -32,12 +32,9 @@ jobs:
|
|
|
32
32
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
33
33
|
with:
|
|
34
34
|
persist-credentials: false
|
|
35
|
-
- uses:
|
|
36
|
-
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
35
|
+
- uses: ./.github/actions/setup
|
|
37
36
|
with:
|
|
38
|
-
node-
|
|
39
|
-
cache: pnpm
|
|
40
|
-
- run: pnpm install --frozen-lockfile
|
|
37
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
41
38
|
- name: Apply migrations
|
|
42
39
|
env:
|
|
43
40
|
DATABASE_URL: ${{ secrets.DATABASE_URL }}
|
|
@@ -26,9 +26,8 @@ jobs:
|
|
|
26
26
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
27
27
|
with:
|
|
28
28
|
persist-credentials: false
|
|
29
|
-
- uses:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- run: pnpm install --frozen-lockfile
|
|
29
|
+
- uses: ./.github/actions/setup
|
|
30
|
+
with:
|
|
31
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
33
32
|
- name: Audit production dependencies
|
|
34
33
|
run: pnpm audit --audit-level=high --prod
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
name: Setup
|
|
2
|
+
description: >-
|
|
3
|
+
Install pnpm and Node, authenticate to the private @raredays npm registry, then
|
|
4
|
+
install dependencies. The @raredays/* packages are published with restricted
|
|
5
|
+
access, so the registry token must be present before install. pnpm ignores
|
|
6
|
+
${VAR} interpolation in a committed project .npmrc (it could leak the token to
|
|
7
|
+
an attacker-controlled registry), so the token is written to the user-level
|
|
8
|
+
~/.npmrc at runtime instead.
|
|
9
|
+
|
|
10
|
+
inputs:
|
|
11
|
+
node-auth-token:
|
|
12
|
+
description: >-
|
|
13
|
+
npm token with read access to the private @raredays registry. Pass it from
|
|
14
|
+
the NODE_AUTH_TOKEN repository secret.
|
|
15
|
+
required: true
|
|
16
|
+
|
|
17
|
+
runs:
|
|
18
|
+
using: composite
|
|
19
|
+
steps:
|
|
20
|
+
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
|
|
21
|
+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
22
|
+
with:
|
|
23
|
+
node-version: 24
|
|
24
|
+
cache: pnpm
|
|
25
|
+
- name: Authenticate to the npm registry
|
|
26
|
+
shell: bash
|
|
27
|
+
env:
|
|
28
|
+
NODE_AUTH_TOKEN: ${{ inputs.node-auth-token }}
|
|
29
|
+
run: |
|
|
30
|
+
if [ -z "$NODE_AUTH_TOKEN" ]; then
|
|
31
|
+
echo "::error::NODE_AUTH_TOKEN is empty. Add a repository secret with an npm token that has read access to the private @raredays registry."
|
|
32
|
+
exit 1
|
|
33
|
+
fi
|
|
34
|
+
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
|
|
35
|
+
- name: Install dependencies
|
|
36
|
+
shell: bash
|
|
37
|
+
run: pnpm install --frozen-lockfile
|
|
@@ -26,10 +26,9 @@ jobs:
|
|
|
26
26
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
27
27
|
with:
|
|
28
28
|
persist-credentials: false
|
|
29
|
-
- uses:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- run: pnpm install --frozen-lockfile
|
|
29
|
+
- uses: ./.github/actions/setup
|
|
30
|
+
with:
|
|
31
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
33
32
|
- run: pnpm lint
|
|
34
33
|
|
|
35
34
|
format-check:
|
|
@@ -40,10 +39,9 @@ jobs:
|
|
|
40
39
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
41
40
|
with:
|
|
42
41
|
persist-credentials: false
|
|
43
|
-
- uses:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
- run: pnpm install --frozen-lockfile
|
|
42
|
+
- uses: ./.github/actions/setup
|
|
43
|
+
with:
|
|
44
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
47
45
|
- run: pnpm format:check
|
|
48
46
|
|
|
49
47
|
style:
|
|
@@ -54,10 +52,9 @@ jobs:
|
|
|
54
52
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
55
53
|
with:
|
|
56
54
|
persist-credentials: false
|
|
57
|
-
- uses:
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
- run: pnpm install --frozen-lockfile
|
|
55
|
+
- uses: ./.github/actions/setup
|
|
56
|
+
with:
|
|
57
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
61
58
|
- run: pnpm style
|
|
62
59
|
|
|
63
60
|
typecheck:
|
|
@@ -68,10 +65,9 @@ jobs:
|
|
|
68
65
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
69
66
|
with:
|
|
70
67
|
persist-credentials: false
|
|
71
|
-
- uses:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
- run: pnpm install --frozen-lockfile
|
|
68
|
+
- uses: ./.github/actions/setup
|
|
69
|
+
with:
|
|
70
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
75
71
|
- run: pnpm theme:build
|
|
76
72
|
- run: pnpm typecheck
|
|
77
73
|
|
|
@@ -83,10 +79,9 @@ jobs:
|
|
|
83
79
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
84
80
|
with:
|
|
85
81
|
persist-credentials: false
|
|
86
|
-
- uses:
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
- run: pnpm install --frozen-lockfile
|
|
82
|
+
- uses: ./.github/actions/setup
|
|
83
|
+
with:
|
|
84
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
90
85
|
- run: pnpm build
|
|
91
86
|
|
|
92
87
|
storybook:
|
|
@@ -97,10 +92,9 @@ jobs:
|
|
|
97
92
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
98
93
|
with:
|
|
99
94
|
persist-credentials: false
|
|
100
|
-
- uses:
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
- run: pnpm install --frozen-lockfile
|
|
95
|
+
- uses: ./.github/actions/setup
|
|
96
|
+
with:
|
|
97
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
104
98
|
- run: pnpm theme:build
|
|
105
99
|
- run: pnpm storybook:build
|
|
106
100
|
|
|
@@ -26,9 +26,8 @@ jobs:
|
|
|
26
26
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
27
27
|
with:
|
|
28
28
|
persist-credentials: false
|
|
29
|
-
- uses:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- run: pnpm install --frozen-lockfile
|
|
29
|
+
- uses: ./.github/actions/setup
|
|
30
|
+
with:
|
|
31
|
+
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
33
32
|
- name: Audit production dependencies
|
|
34
33
|
run: pnpm audit --audit-level=high --prod
|