test-deploy.yml 450 B

12345678910111213141516171819202122
  1. name: Test deployment
  2. on:
  3. pull_request:
  4. branches:
  5. - master
  6. jobs:
  7. test-deploy:
  8. name: Test deployment
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v3
  12. - uses: actions/setup-node@v3
  13. with:
  14. node-version: 18
  15. cache: npm
  16. - name: Install dependencies
  17. run: npm install --legacy-peer-deps
  18. - name: Test build website
  19. run: npm run build