File tree Expand file tree Collapse file tree 11 files changed +20858
-34825
lines changed Expand file tree Collapse file tree 11 files changed +20858
-34825
lines changed Original file line number Diff line number Diff line change 22
22
uses : actions/setup-node@v4
23
23
with :
24
24
node-version : 22
25
- cache : ' npm '
26
- cache-dependency-path : ' package-lock.json '
25
+ cache : ' yarn '
26
+ cache-dependency-path : ' yarn.lock '
27
27
always-auth : ' true'
28
28
29
29
- name : Enable corepack
32
32
33
33
- name : Build docs
34
34
run : |
35
- npm ci --force
36
- npm run build
35
+ yarn --immutable
36
+ yarn build
37
37
env :
38
38
APIFY_SIGNING_TOKEN : ${{ secrets.APIFY_SIGNING_TOKEN }}
39
39
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -18,21 +18,21 @@ jobs:
18
18
uses : actions/setup-node@v4
19
19
with :
20
20
node-version : 22
21
- cache : ' npm '
22
- cache-dependency-path : ' package-lock.json '
21
+ cache : ' yarn '
22
+ cache-dependency-path : ' yarn.lock '
23
23
24
24
- name : Enable corepack
25
25
run : |
26
26
corepack enable
27
27
28
28
- name : Install Dependencies
29
- run : npm ci --force
29
+ run : yarn --immutable
30
30
env :
31
31
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
32
32
33
33
- run : |
34
34
npm ci
35
- npm run redoc:test
35
+ yarn redoc:test
36
36
37
37
# TODO
38
38
# - uses: actions/setup-python@v5
Original file line number Diff line number Diff line change 21
21
uses : actions/setup-node@v4
22
22
with :
23
23
node-version : 22
24
- cache : ' npm '
25
- cache-dependency-path : ' package-lock.json '
24
+ cache : ' yarn '
25
+ cache-dependency-path : ' yarn.lock '
26
26
27
27
- name : Enable corepack
28
28
run : |
49
49
uses : actions/setup-node@v4
50
50
with :
51
51
node-version : 22
52
- cache : ' npm '
53
- cache-dependency-path : ' package-lock.json '
52
+ cache : ' yarn '
53
+ cache-dependency-path : ' yarn.lock '
54
54
always-auth : ' true'
55
55
56
56
- name : Enable corepack
Original file line number Diff line number Diff line change @@ -17,25 +17,25 @@ jobs:
17
17
uses : actions/setup-node@v4
18
18
with :
19
19
node-version : 22
20
- cache : ' npm '
21
- cache-dependency-path : ' package-lock.json '
20
+ cache : ' yarn '
21
+ cache-dependency-path : ' yarn.lock '
22
22
always-auth : ' true'
23
23
24
24
- name : Enable corepack
25
25
run : |
26
26
corepack enable
27
27
28
28
- name : Install Dependencies
29
- run : npm ci --force
29
+ run : yarn --immutable
30
30
env :
31
31
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
32
32
33
- - run : npm run build
33
+ - run : yarn build
34
34
env :
35
35
INTERCOM_APP_ID : ${{ secrets.INTERCOM_APP_ID }}
36
36
SEGMENT_TOKEN : ${{ secrets.SEGMENT_TOKEN }}
37
37
38
- - run : npm run start:dev
38
+ - run : yarn start:dev
39
39
40
40
lint_content :
41
41
name : Lint markdown content
@@ -56,15 +56,15 @@ jobs:
56
56
uses : actions/setup-node@v4
57
57
with :
58
58
node-version : 22
59
- cache : ' npm '
60
- cache-dependency-path : ' package-lock.json '
59
+ cache : ' yarn '
60
+ cache-dependency-path : ' yarn.lock '
61
61
62
62
- name : Enable corepack
63
63
run : |
64
64
corepack enable
65
65
66
66
- name : Install Dependencies
67
- run : npm ci --force
67
+ run : yarn --immutable
68
68
env :
69
69
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
70
70
@@ -89,16 +89,16 @@ jobs:
89
89
uses : actions/setup-node@v4
90
90
with :
91
91
node-version : 22
92
- cache : ' npm '
93
- cache-dependency-path : ' package-lock.json '
92
+ cache : ' yarn '
93
+ cache-dependency-path : ' yarn.lock '
94
94
95
95
- name : Enable corepack
96
96
run : |
97
97
corepack enable
98
98
99
99
- name : Install Dependencies
100
- run : npm ci --force
100
+ run : yarn --immutable
101
101
env :
102
102
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
103
103
104
- - run : npm run lint:code
104
+ - run : yarn lint:code
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ coverage
11
11
pids
12
12
.idea
13
13
.vscode
14
- yarn.lock
15
14
tmp
16
15
types
17
16
.history
@@ -23,4 +22,4 @@ sources/api/*
23
22
! sources /api /getting-started.mdx
24
23
apify-api.yaml
25
24
static /api
26
- apify-docs-theme /package-lock.json
25
+ ** /package-lock.json
Original file line number Diff line number Diff line change
1
+ nodeLinker : node-modules
Original file line number Diff line number Diff line change @@ -18,14 +18,8 @@ module.exports = {
18
18
projectName : 'apify-docs' ,
19
19
scripts : [ '/js/custom.js' ] ,
20
20
future : {
21
- experimental_faster : {
22
- // swcJsLoader: true,
23
- swcJsMinimizer : true ,
24
- swcHtmlMinimizer : true ,
25
- lightningCssMinimizer : true ,
26
- rspackBundler : true ,
27
- mdxCrossCompilerCache : true ,
28
- } ,
21
+ experimental_faster : true ,
22
+ v4 : true ,
29
23
} ,
30
24
headTags : [
31
25
{
You can’t perform that action at this time.
0 commit comments