File tree 7 files changed +90
-20
lines changed
7 files changed +90
-20
lines changed Original file line number Diff line number Diff line change 19
19
- name : Setup antlr4
20
20
uses : ./.github/actions/setup-antlr4
21
21
22
- - name : Install dependencies with frozen lock file and generate parser
23
- run : npm ci
22
+ - name : Setup pnpm
23
+ uses : pnpm/action-setup@v4
24
+
25
+ - name : Setup node.js
26
+ uses : actions/setup-node@v4
27
+ with :
28
+ node-version : 20
29
+ cache : ' pnpm'
30
+ registry-url : ' https://registry.npmjs.org'
31
+
32
+ - name : Install dependencies with frozen lock file
33
+ run : pnpm install --frozen-lockfile
24
34
25
35
- name : Build project
26
36
env :
Original file line number Diff line number Diff line change 16
16
- name : Setup antlr4
17
17
uses : ./.github/actions/setup-antlr4
18
18
19
- - name : Install dependencies with frozen lock file and generate parser
20
- run : npm ci
19
+ - name : Setup pnpm
20
+ uses : pnpm/action-setup@v4
21
+
22
+ - name : Setup node.js
23
+ uses : actions/setup-node@v4
24
+ with :
25
+ node-version : 20
26
+ cache : ' pnpm'
27
+ registry-url : ' https://registry.npmjs.org'
28
+
29
+ - name : Install dependencies with frozen lock file
30
+ run : pnpm install --frozen-lockfile
21
31
22
32
- name : Build project
23
33
env :
Original file line number Diff line number Diff line change 20
20
- name : Setup antlr4
21
21
uses : ./.github/actions/setup-antlr4
22
22
23
- - name : Install dependencies with frozen lock file and generate parser
24
- run : npm ci
23
+ - name : Setup pnpm
24
+ uses : pnpm/action-setup@v4
25
+
26
+ - name : Setup node.js
27
+ uses : actions/setup-node@v4
28
+ with :
29
+ node-version : 20
30
+ cache : ' pnpm'
31
+ registry-url : ' https://registry.npmjs.org'
32
+
33
+ - name : Install dependencies with frozen lock file
34
+ run : pnpm install --frozen-lockfile
25
35
26
36
- name : Build project
27
37
env :
@@ -45,13 +55,23 @@ jobs:
45
55
- name : Setup antlr4
46
56
uses : ./.github/actions/setup-antlr4
47
57
48
- - name : Install dependencies with frozen lock file and generate parser
49
- run : npm ci
58
+ - name : Setup pnpm
59
+ uses : pnpm/action-setup@v4
60
+
61
+ - name : Setup node.js
62
+ uses : actions/setup-node@v4
63
+ with :
64
+ node-version : 20
65
+ cache : ' pnpm'
66
+ registry-url : ' https://registry.npmjs.org'
67
+
68
+ - name : Install dependencies with frozen lock file
69
+ run : pnpm install --frozen-lockfile
50
70
51
71
- name : Builds and run tests
52
72
# Tests with the same flags that VSCode does
53
73
run : |
54
- npm test
74
+ pnpm test
55
75
56
76
e2e-test :
57
77
name : E2E tests
63
83
- name : Setup antlr4
64
84
uses : ./.github/actions/setup-antlr4
65
85
66
- - name : Install dependencies
67
- run : npm ci
86
+ - name : Setup pnpm
87
+ uses : pnpm/action-setup@v4
88
+
89
+ - name : Setup node.js
90
+ uses : actions/setup-node@v4
91
+ with :
92
+ node-version : 20
93
+ cache : ' pnpm'
94
+ registry-url : ' https://registry.npmjs.org'
95
+
96
+ - name : Install dependencies with frozen lock file
97
+ run : pnpm install --frozen-lockfile
68
98
69
99
- name : Build project
70
100
run : pnpm build
Original file line number Diff line number Diff line change 39
39
- name : Setup antlr4
40
40
uses : ./.github/actions/setup-antlr4
41
41
42
- - name : Install dependencies with frozen lock file and generate parser
43
- run : npm ci
42
+ - name : Setup pnpm
43
+ uses : pnpm/action-setup@v4
44
+
45
+ - name : Setup node.js
46
+ uses : actions/setup-node@v4
47
+ with :
48
+ node-version : 20
49
+ cache : ' pnpm'
50
+ registry-url : ' https://registry.npmjs.org'
51
+
52
+ - name : Install dependencies with frozen lock file
53
+ run : pnpm install --frozen-lockfile
44
54
45
55
- name : Build project
46
56
run : pnpm build
Original file line number Diff line number Diff line change 21
21
- name : Setup antlr4
22
22
uses : ./.github/actions/setup-antlr4
23
23
24
- - name : Install dependencies with frozen lock file and generate parser
25
- run : npm ci
24
+ - name : Setup pnpm
25
+ uses : pnpm/action-setup@v4
26
+
27
+ - name : Setup node.js
28
+ uses : actions/setup-node@v4
29
+ with :
30
+ node-version : 20
31
+ cache : ' pnpm'
32
+ registry-url : ' https://registry.npmjs.org'
33
+
34
+ - name : Install dependencies with frozen lock file
35
+ run : pnpm install --frozen-lockfile
26
36
27
37
- name : Build Project
28
38
run : pnpm build
Original file line number Diff line number Diff line change 30
30
- name : Setup antlr4
31
31
uses : ./.github/actions/setup-antlr4
32
32
33
- - name : Install dependencies with frozen lock file and generate parser
34
- run : npm ci
33
+ - name : Install dependencies with frozen lock file
34
+ run : pnpm install --frozen-lockfile
35
35
36
36
- name : Build and release canary package to npm
37
37
run : node ./release-canary.js
59
59
- name : Setup antlr4
60
60
uses : ./.github/actions/setup-antlr4
61
61
62
- - name : Install dependencies with frozen lock file and generate parser
63
- run : npm ci
62
+ - name : Install dependencies with frozen lock file
63
+ run : pnpm install --frozen-lockfile
64
64
65
65
- name : Create Release Pull Request or Publish to npm
66
66
id : changesets
Original file line number Diff line number Diff line change 34
34
uses : ./.github/actions/setup-antlr4
35
35
36
36
- name : Install dependencies with frozen lock file
37
- run : npm ci
37
+ run : pnpm install --frozen-lockfile
38
38
39
39
- name : Build all packages
40
40
run : pnpm build
You can’t perform that action at this time.
0 commit comments