v0.0.10: refactor API, internals, testing #62
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
# Workflow to run the tests on every push or pull request | |
# | |
name: Run Tests | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- package.json | |
- package-lock.json | |
- 'packages/**' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- package.json | |
- package-lock.json | |
- 'packages/**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
registry-url: https://registry.npmjs.org/ | |
- name: Install Dependencies | |
run: npm ci | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Test all packages | |
run: npx nx run-many --target=test --all |