feat: Adding Website and Documentation #4
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: ✅ Tamagokill check | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
check-web: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛎️ Checkout | |
uses: actions/checkout@v3 | |
- name: 🏭 Use Node.js | |
uses: actions/setup-node@v3 | |
- name: 📥 Install Web | |
working-directory: ./web | |
run: npm install | |
- name: 👾 Audit Web | |
working-directory: ./web | |
run: npm audit --audit-level=low | |
- name: 🧪 Test Web | |
working-directory: ./web | |
run: npm run test | |
- name: 👷♂️ Build Web | |
working-directory: ./web | |
run: npm run build | |
check-api: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛎️ Checkout | |
uses: actions/checkout@v3 | |
- name: 👷♂️ Build API | |
working-directory: ./api | |
run: cargo build | |
- name: 🧪 Test API | |
working-directory: ./api | |
run: cargo test |