Skip to content

πŸ”’οΈ Add cors for bookstore api (#1988) #6693

πŸ”’οΈ Add cors for bookstore api (#1988)

πŸ”’οΈ Add cors for bookstore api (#1988) #6693

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Setup node env πŸ—
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: |
src/package-lock.json
functions/package-lock.json
- name: Dependencies
run: npm --prefix src install && npm --prefix functions install && cp -r src/nuxt.config.js src/config src/tailwind.config.js functions/
- name: Lint Test
run: npm --prefix src run lint && npm --prefix functions run lint
- name: Build
run: npm --prefix src run build
- name: Server Test
run: npm --prefix src start &
- name: Curl Test
run: curl --retry 10 --retry-delay 5 -v http://localhost:3000/