name: Check Frontend Pull Request on: pull_request: types: [ opened, synchronize ] paths: - 'frontend/**' - '!frontend/README.md' - '!frontend/.*' - 'frontend/.eslintrc.js' jobs: check-fe-pr: name: Check runs-on: ubuntu-latest steps: - name: โ˜๏ธ Checkout source uses: actions/checkout@v3 - name: ๐Ÿ”ง Setup Node 16 uses: actions/setup-node@v3 with: node-version: '16' cache: 'npm' cache-dependency-path: frontend/package-lock.json - name: ๐Ÿ“ฆ Install dependencies run: npm ci --only-production --ignore-scripts working-directory: frontend # - # name: ๐Ÿงช Run tests # run: npm run test:ci # working-directory: frontend - name: ๐Ÿ—๏ธ Run build run: npm run build working-directory: frontend