Initial commit - Whaticket com Wuzapi v1.0.0 #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test build frontend | |
| on: | |
| pull_request: | |
| paths: | |
| - "frontend/**" | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - "frontend/**" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [14.x] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install dependencies | |
| working-directory: frontend | |
| run: npm install | |
| - run: CI=false npm run build | |
| working-directory: frontend |