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