Feat: introduce new web application using @radix/ui #302
Workflow file for this run
This file contains 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: Build backend | |
on: | |
pull_request: | |
branches: [main, backend] | |
types: [opened, synchronize, closed] | |
push: | |
branches: [main, backend] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# cache: 'npm' | |
- name: Go to directory | |
run: cd ./backend | |
- name: Install Packages | |
run: npm install | |
working-directory: ./backend | |
- name: Test backend | |
run: npm run test --if-present | |
working-directory: ./backend | |
- name: Build | |
run: npm run build --if-present | |
working-directory: ./backend | |