fix: remove file extensions from added aliases #119
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: Test | |
on: | |
push: | |
branches: ['main', 'feature/nuxt3-rewrite'] | |
pull_request: | |
branches: ['main', 'feature/nuxt3-rewrite'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Run API in background | |
working-directory: apollo | |
run: | | |
npm ci | |
npm run compile | |
npm run start & | |
env: | |
PORT: 4000 | |
- name: Install dependencies | |
run: | | |
npm ci | |
- name: Run module-builder | |
run: | | |
npm run dev:prepare | |
npm run prepack | |
- name: Typecheck | |
run: | | |
npm run typecheck | |
- name: ESLint | |
run: | | |
npm run lint | |
- name: Build layers playground | |
run: | | |
npm run dev:layers:build | |
- name: Run vitest | |
run: | | |
npm run dev:build | |
npm run test:ci | |
- name: Start dev server | |
run: | | |
npm run dev:start & | |
- name: Run cypress E2E tests | |
run: | | |
npm run cypress |