forked from sheetjs/sheetjs
31 lines
736 B
YAML
31 lines
736 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/install@main
|
|
name: 'nvm install lts/* && npm install'
|
|
with:
|
|
node-version: 'lts/*'
|
|
- run: make init
|
|
- run: 'cd test_files; make all; cd -'
|
|
- run: npm run pretest
|
|
|
|
# posttest:
|
|
# runs-on: ubuntu-latest
|
|
|
|
# steps:
|
|
# - uses: actions/checkout@v2
|
|
# - uses: ljharb/actions/node/install@main
|
|
# name: 'nvm install lts/* && npm install'
|
|
# with:
|
|
# node-version: 'lts/*'
|
|
# - run: make init
|
|
# - run: 'cd test_files; make all; cd -'
|
|
# - run: npm run posttest
|