build.yml 709 B

123456789101112131415161718192021222324252627282930313233
  1. name: CI
  2. on:
  3. push:
  4. branches: [ master ]
  5. pull_request:
  6. branches: [ master ]
  7. jobs:
  8. build:
  9. strategy:
  10. matrix:
  11. node-version: [12.x]
  12. runs-on: ubuntu-latest
  13. steps:
  14. - name: Check out branch
  15. uses: actions/checkout@v4
  16. - name: Cache RubyGems
  17. uses: actions/cache@v2
  18. with:
  19. path: vendor/bundle
  20. key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
  21. restore-keys: |
  22. ${{ runner.os }}-gem-
  23. - name: Cache Mint packages
  24. uses: actions/cache@v1
  25. with:
  26. path: ${{ env.MINT_PATH }}
  27. key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }}
  28. restore-keys: ${{ runner.os }}-mint-