1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| name: 'Tests: pretest/posttest'
|
| on: [pull_request, push]
|
| jobs:
| pretest:
| runs-on: ubuntu-latest
|
| steps:
| - uses: actions/checkout@v2
| - uses: ljharb/actions/node/run@main
| name: 'npm install && npm run pretest'
| with:
| node-version: 'lts/*'
| command: 'pretest'
|
| posttest:
| runs-on: ubuntu-latest
|
| steps:
| - uses: actions/checkout@v2
| - uses: ljharb/actions/node/run@main
| name: 'npm install && npm run posttest'
| with:
| node-version: 'lts/*'
| command: 'posttest'
|
|