π¬ Update OG & text (#1924) #6336
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, 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/ |