mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-12-11 16:34:31 +01:00
27 lines
567 B
YAML
27 lines
567 B
YAML
|
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'
|