Repository navigation
sql: add users, roles #50
Workflow file for this run
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: Frontend App Build and Tests | |
| on: | |
| push: | |
| paths: | |
| - "rust/rust-web-app-book/**" | |
| pull_request: | |
| paths: | |
| - "rust/rust-web-app-book/**" | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: rust/rust-web-app-book/frontend | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build | |
| run: npm run build --if-present | |
| - name: Lint | |
| run: npm run lint | |
| # The section would be working if we start using tests | |
| # - name: Test | |
| # run: npm run test |