Skip to content

Commit 9edf80c

Browse files
committed
add level action
1 parent e78e5d3 commit 9edf80c

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

src/tutorials/basic.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ const basic: CR.Tutorial = {
2626
title: 'Operators',
2727
text: 'A description of this stage',
2828
},
29+
actions: {
30+
setup: {
31+
commits: ['aab5f3d'],
32+
commands: ['npm install'],
33+
}
34+
}
2935
},
3036
level2Id: {
3137
stageList: ['a'],
@@ -66,8 +72,7 @@ const basic: CR.Tutorial = {
6672
},
6773
actions: {
6874
setup: {
69-
commits: ['aab5f3d', '8fa5ad5'],
70-
commands: ['npm install'],
75+
commits: ['8fa5ad5'],
7176
files: ['src/sum.js'],
7277
},
7378
solution: {

web-app/src/tutorials/basic.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ const basic: CR.Tutorial = {
2626
title: 'Operators',
2727
text: 'A description of this stage',
2828
},
29+
actions: {
30+
setup: {
31+
commits: ['aab5f3d'],
32+
commands: ['npm install'],
33+
}
34+
}
2935
},
3036
level2Id: {
3137
stageList: ['a'],
@@ -66,8 +72,7 @@ const basic: CR.Tutorial = {
6672
},
6773
actions: {
6874
setup: {
69-
commits: ['aab5f3d', '8fa5ad5'],
70-
commands: ['npm install'],
75+
commits: ['8fa5ad5'],
7176
files: ['src/sum.js'],
7277
},
7378
solution: {

0 commit comments

Comments
 (0)