25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

node.js.yml 870 B

123456789101112131415161718192021222324252627282930
  1. # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
  2. # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
  3. name: Node.js CI
  4. on:
  5. push:
  6. branches: [ master ]
  7. pull_request:
  8. branches: [ master ]
  9. jobs:
  10. build:
  11. runs-on: ubuntu-latest
  12. strategy:
  13. matrix:
  14. node-version: [ 8.x, 10.x, 12.x, 14.x ]
  15. steps:
  16. - uses: actions/checkout@v2
  17. - name: Use Node.js ${{ matrix.node-version }}
  18. uses: actions/setup-node@v1
  19. with:
  20. node-version: ${{ matrix.node-version }}
  21. - run: npm install yarn
  22. - run: yarn install --registry https://registry.yarnpkg.com
  23. working-directory: ./pinry-spa
  24. - run: yarn build
  25. working-directory: ./pinry-spa