File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,28 @@ jobs:
12
12
runs-on : windows-latest
13
13
steps :
14
14
- uses : actions/checkout@v2
15
- - run : |
16
- npm install
17
- - run : |
18
- npm run all
15
+ - run : npm ci
16
+ - run : npm run build
17
+ - run : npm run test
19
18
test : # make sure the action works on a clean machine without building
20
19
runs-on : windows-latest
21
20
steps :
22
21
- uses : actions/checkout@v2
23
- - uses : ./
22
+ - name : Run this Action in-place
23
+ uses : ./
24
+ - name : Verify that the Bash of Git for Windows' SDK is used
25
+ shell : bash
26
+ run : |
27
+ set -x
28
+ echo "This is the MSYS2 pseudo root: $(cygpath -aw /)"
29
+ printf '%s\n' \
30
+ "#include <stdio.h>" \
31
+ '' \
32
+ 'int main()' \
33
+ '{' \
34
+ ' printf("Hello, world!\n");' \
35
+ ' return 0;' \
36
+ '}' >hello-world.c
37
+ gcc -o hello-world.exe hello-world.c
38
+ hello="$(./hello-world.exe)"
39
+ test 'Hello, world!' = "$hello"
You can’t perform that action at this time.
0 commit comments