Consider serving and transforming all HTML files, rather than just limiting it to index files #116
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: Test the package | |
on: pull_request | |
jobs: | |
test-npm: | |
name: Run tests on npm build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- run: yarn install | |
- run: yarn test | |
test-local: | |
name: Run tests on local build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- run: yarn install | |
- run: yarn test:local |