extract lib/
to tape-lib
subpackage
#391
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Tests: pretest/posttest' | |
on: [pull_request, push] | |
jobs: | |
tests: | |
uses: ljharb/actions/.github/workflows/pretest.yml@main | |
with: | |
skip-engines: true # bin/tape requires node 8+, but tape-lib supports 0.4+. TODO: fix and add engines.node in v6 | |
engines-lib: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: ljharb/actions/node/engines@main | |
with: | |
working-directory: lib | |
pack-lib: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: ljharb/actions/node/pack@main | |
with: | |
after_install: cd ../ && npm install | |
working-directory: lib |