mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00: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'
|