vuetifyjs.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. # This workflow will do a clean install of node dependencies, cache/restore them, 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: vuetifyxjs
  4. on:
  5. push:
  6. branches: [ main ]
  7. pull_request:
  8. branches: [ main ]
  9. jobs:
  10. test:
  11. runs-on: ubuntu-latest
  12. strategy:
  13. matrix:
  14. node-version: [16.x]
  15. # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
  16. steps:
  17. - uses: szenius/set-timezone@v1.0
  18. with:
  19. timezoneLinux: "Asia/Shanghai"
  20. - uses: actions/checkout@v2
  21. - name: Use Node.js ${{ matrix.node-version }}
  22. uses: actions/setup-node@v2
  23. with:
  24. node-version: ${{ matrix.node-version }}
  25. cache: 'npm'
  26. cache-dependency-path: vuetifyx/vuetifyxjs/package-lock.json
  27. - run: cd ./vuetifyx/vuetifyxjs/ && npm install && npm run build && npm run test