9d24e603c4980f4868111b34a3eb5d4cd4401e562b2484fc1be86443fd3cc474049cb7f4fe4ab2bb022e24848eaadb19273aa25f96dcc0cc678517bbfc5a2e 632 B

123456789101112131415161718192021222324252627282930313233
  1. name: number-allocator CI
  2. on:
  3. pull_request:
  4. types: [opened, synchronize]
  5. push:
  6. branches:
  7. - main
  8. tags:
  9. - '*'
  10. jobs:
  11. build:
  12. runs-on: ubuntu-latest
  13. strategy:
  14. matrix:
  15. node-version: [14.x, 15.x, 16.x, 18.x, 19.x]
  16. fail-fast: false
  17. steps:
  18. - uses: actions/checkout@v2
  19. - name: Use Node.js ${{ matrix.node-version }}
  20. uses: actions/setup-node@v1
  21. with:
  22. node-version: ${{ matrix.node-version }}
  23. - run: npm install
  24. - run: npm run typescript-test
  25. - run: npm test && npm run codecov
  26. env:
  27. CI: true
  28. DEBUG: "number-allocator*"