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.

js.yml 456 B

123456789101112131415161718192021222324252627
  1. name: tests
  2. on: [push]
  3. permissions:
  4. contents: read
  5. jobs:
  6. build:
  7. runs-on: ubuntu-latest
  8. strategy:
  9. matrix:
  10. node-version: [14.x]
  11. steps:
  12. - uses: actions/checkout@v2
  13. - name: Use Node.js ${{ matrix.node-version }}
  14. uses: actions/setup-node@v1
  15. with:
  16. node-version: ${{ matrix.node-version }}
  17. - run: npm install
  18. - run: npm run build --if-present
  19. - run: npm test
  20. env:
  21. CI: true