You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tests.yml 559B

1234567891011121314151617181920212223242526
  1. name: Tests
  2. on:
  3. pull_request:
  4. branches: [master]
  5. jobs:
  6. test:
  7. runs-on: ubuntu-latest
  8. env:
  9. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  10. steps:
  11. - uses: actions/checkout@v2
  12. with:
  13. fetch-depth: 0
  14. - name: Use Node.js 12
  15. uses: actions/setup-node@v1
  16. with:
  17. node-version: 16
  18. - run: npm ci
  19. - run: npm install react prop-types
  20. - run: npm run build
  21. - run: npm run lint
  22. - run: npm test
  23. - run: npm test:types
  24. - uses: wagoid/commitlint-github-action@v1