Merge pull request #19 from EunixTech/codex/test-cli-with-execfile-an… #66
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout code | |
uses: actions/checkout@v3 | |
- name: 🔧 Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: 📦 Install dependencies | |
run: npm ci | |
- name: 🧼 Lint and format | |
run: npm run lint | |
- name: 🧪 Run tests | |
run: npm test | |
- name: 📘 Build docs (to validate they compile) | |
run: npm run docs:build |