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.

23 lines
400 B

3 years ago
  1. name: Test
  2. on: [push, pull_request]
  3. jobs:
  4. node-tests:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - name: Checkout code
  8. uses: actions/checkout@v2
  9. - name: Use Node.js ${{ matrix.node-version }}
  10. uses: actions/setup-node@v1
  11. with:
  12. node-version: 10.x
  13. - name: Build
  14. run: |
  15. npm install
  16. npm run build
  17. - name: Run tests
  18. run: npm run test