testAnimations.yml 678 B

123456789101112131415161718192021222324
  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: Node.js CI
  4. on:
  5. pull_request
  6. jobs:
  7. create_snapshots:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v2
  11. - name: Use Node.js 16.x
  12. uses: actions/cache@v2
  13. with:
  14. path: ~/.npm
  15. key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
  16. - run: npm install
  17. - run: npm run test:create
  18. - run: npm run build
  19. - run: npm run test:compare