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.

ci.yml 442B

123456789101112131415161718192021
  1. name: CI
  2. on: [push, pull_request]
  3. jobs:
  4. test:
  5. runs-on: ${{ matrix.os }}
  6. strategy:
  7. matrix:
  8. os: [ubuntu-latest]
  9. node-version: [8.x, 10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x]
  10. steps:
  11. - uses: actions/checkout@v2
  12. - name: Use Node.js ${{ matrix.node-version }}
  13. uses: actions/setup-node@v1
  14. with:
  15. node-version: ${{ matrix.node-version }}
  16. - run: npm install
  17. - run: npm run ci