Skip to content

feat: check pull requests and commits using conventional commits #7

feat: check pull requests and commits using conventional commits

feat: check pull requests and commits using conventional commits #7

Workflow file for this run

name: 🧪 Run tests
on:
pull_request:
types: [opened, synchronize]
jobs:
web:
name: 💻 Web
runs-on: ubuntu-latest
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
- name: 🏭 Use Node.js
uses: actions/setup-node@v4
with:

Check failure on line 16 in .github/workflows/check-code.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/check-code.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
node-version-file: ./web/package.json
- 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: 👷‍♂️ Check Web
working-directory: ./web
run: npm run check
api:
name: 🌍 API
runs-on: ubuntu-latest
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
- name: 👷‍♂️ Build API
working-directory: ./api
run: cargo build
- name: 🧪 Test API
working-directory: ./api
run: cargo test