nodejs.yml 407B

123456789101112131415161718192021
  1. name: Node CI
  2. on: [push, pull_request]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v1
  8. - name: Use Node.js 10.x
  9. uses: actions/setup-node@v1
  10. with:
  11. node-version: 10.x
  12. - name: Install yarn
  13. run: npm install -g yarn
  14. - name: Install dependencies
  15. run: yarn install
  16. - name: Run tests
  17. run: yarn test