File tree 7 files changed +24
-11
lines changed
7 files changed +24
-11
lines changed Original file line number Diff line number Diff line change
1
+ name : install
2
+ description : >
3
+ Installs Meteor and NPM dependencies.
4
+
5
+ runs :
6
+
7
+ using : composite
8
+
9
+ steps :
10
+
11
+ - name : Install 💾
12
+ id : install
13
+ uses : meteor-actions/install@v6
14
+
15
+ - name : Postinstall 🪝
16
+ if : steps.install.outputs.ran-npm-install-hooks != 'true'
17
+ run : meteor npm run postinstall
Original file line number Diff line number Diff line change 34
34
uses : actions/checkout@v4
35
35
36
36
- name : Install 💾
37
- uses : meteor- actions/install@v6
37
+ uses : ./.github/ actions/install
38
38
39
39
- name : Get Meteor's Node version
40
40
id : meteor-node
Original file line number Diff line number Diff line change 24
24
fetch-depth : 0
25
25
26
26
- name : Install 💾
27
- uses : meteor- actions/install@v6
27
+ uses : ./.github/ actions/install
28
28
29
29
- name : Lint last pushed commit 👕
30
30
if : github.event_name == 'push'
Original file line number Diff line number Diff line change 22
22
uses : actions/checkout@v4
23
23
24
24
- name : Install 💾
25
- uses : meteor- actions/install@v6
25
+ uses : ./.github/ actions/install
26
26
27
27
- name : Lint config 👕
28
28
run : meteor npm run lint-config
Original file line number Diff line number Diff line change 22
22
uses : actions/checkout@v4
23
23
24
24
- name : Install 💾
25
- uses : meteor- actions/install@v6
25
+ uses : ./.github/ actions/install
26
26
27
27
- name : Lint 👕
28
28
run : meteor npm run lint
Original file line number Diff line number Diff line change 31
31
key : ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
32
32
33
33
- name : Install 💾
34
- uses : meteor-actions/install@v6
35
-
36
- # TODO Run only when install action hits the cache.
37
- - name : Postinstall
38
- run : meteor npm run postinstall
34
+ uses : ./.github/actions/install
39
35
40
36
- name : Cache build 💽
41
37
uses : meteor-actions/cache-build@v4
96
92
key : ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
97
93
98
94
- name : Install 💾
99
- uses : meteor- actions/install@v6
95
+ uses : ./.github/ actions/install
100
96
101
97
- name : Cache build 💽
102
98
uses : meteor-actions/cache-build@v4
Original file line number Diff line number Diff line change 22
22
uses : actions/checkout@v4
23
23
24
24
- name : Install 💾
25
- uses : meteor- actions/install@v6
25
+ uses : ./.github/ actions/install
26
26
27
27
- name : TypeScript check ☑️
28
28
run : meteor npm run tsc
You can’t perform that action at this time.
0 commit comments