File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 11name : Test
2- on :
2+ " on " :
33 push : {}
44 pull_request :
5- types : [opened, synchronize]
6-
5+ types :
6+ - opened
7+ - synchronize
78jobs :
89 integration :
910 runs-on : ubuntu-latest
10- # don't run integration tests on push unless it's the main branch
1111 if : github.event_name == 'pull_request' || github.ref == 'refs/heads/main'
1212 steps :
1313 - uses : actions/checkout@v2
1414 - uses : actions/setup-node@v2
1515 with :
1616 cache : npm
17+ node-version : 16
1718 - run : npm ci
1819 - run : npm test
1920 createComment :
2021 runs-on : ubuntu-latest
21- # only run on push events
2222 if : github.event_name == 'push'
2323 steps :
2424 - uses : actions/checkout@v2
2525 - uses : actions/setup-node@v2
2626 with :
2727 cache : npm
28+ node-version : 16
2829 - run : npm ci
2930 - run : node test/fixtures/app.js
3031 env :
You can’t perform that action at this time.
0 commit comments