feat: Initial Codebase for openapi-axios Library with Integration Tests #1
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: ci | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
workflow_dispatch: | |
env: | |
CI: true | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".node-version" | |
cache: "npm" | |
- name: Install Dependencies | |
run: npm ci | |
- name: Lint Project | |
run: npm run lint | |
# - name: Run Unit Tests # there's no tests yet | |
# run: npm run test:unit | |
- name: Generate Test Fixtures | |
run: npm run generate | |
- name: Run Integration Tests | |
run: npm run test:int -- --run | |
- name: Build Package | |
run: npm run build |