Skip to content

fabsor test

fabsor test #253

Workflow file for this run

name: Run tests
run-name: ${{ github.actor }} test
on: [push]
jobs:
test:
strategy:
matrix:
node-version: [18.x]
package: ["core", "password", "date", "routerforms", "autocomplete"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: cd packages/core && npm run build
- run: cd packages/${{matrix.package}} && npx prettier --check .
- run: cd packages/${{matrix.package}} && npx eslint . --ext .js,.jsx,.ts,.tsx
- run: cd packages/${{matrix.package}} && npm run test:unit