Connect API to frontend #38
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: Status Checks | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
npm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
- run: npm clean-install | |
env: | |
NPM_AUTH: ${{ secrets.NPM_AUTH }} | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
- run: npm clean-install | |
env: | |
NPM_AUTH: ${{ secrets.NPM_AUTH }} | |
- run: npx prettier --check . | |
vite: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
- run: npm clean-install | |
env: | |
NPM_AUTH: ${{ secrets.NPM_AUTH }} | |
- run: npm run build |