Skip to content

chore: update README #363

chore: update README

chore: update README #363

Workflow file for this run

name: Lint Files
# This workflow lints the client and server directories
# And will trigger on push *any* branch
on:
push:
branches-ignore:
- master
- dev
jobs:
lint-client:
name: Lint Client
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_BASE_PATH: ''
NEXT_PUBLIC_BASE_API_URL: ${{ secrets.NEXT_PUBLIC_BASE_API_URL_DEV }}
NEXT_PUBLIC_FIREBASE_WEB_API_KEY: ${{ secrets.FIREBASE_WEB_API_KEY_DEV }}
NEXT_PUBLIC_FIREBASE_WEB_AUTHDOMAIN: ${{ secrets.FIREBASE_WEB_AUTHDOMAIN_DEV }}
NEXT_PUBLIC_FIREBASE_WEB_PROJECT_ID: ${{ secrets.FIREBASE_WEB_PROJECT_ID_DEV }}
NEXT_PUBLIC_FIREBASE_WEB_STORAGE_BUCKET: ${{ secrets.FIREBASE_WEB_STORAGE_BUCKET_DEV }}
NEXT_PUBLIC_FIREBASE_WEB_MESSAGING_SENDER_ID: ${{ secrets.FIREBASE_WEB_MESSAGING_SENDER_ID_DEV }}
NEXT_PUBLIC_FIREBASE_WEB_APP_ID: ${{ secrets.FIREBASE_WEB_APP_ID_DEV }}
NEXT_PUBLIC_FIREBASE_WEB_MEASUREMENT_ID: ${{ secrets.FIREBASE_WEB_MEASUREMENT_ID_DEV }}
NEXT_PUBLIC_MEDIA_BG1: ${{ secrets.NEXT_PUBLIC_MEDIA_BG1 }}
NEXT_PUBLIC_RANDOM_JOKE_API: ${{ secrets.NEXT_PUBLIC_RANDOM_JOKE_API }}
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Use NodeJS v18.14.2
uses: actions/setup-node@v3
with:
node-version: 18.14.2
- name: Install Dependencies and Lint
run: |
cd client
npm install
npm run lint
- name: Dry-run NPM Export
run: |
cd client
npm run export
lint-server:
name: Lint Server
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Use NodeJS v18.14.2
uses: actions/setup-node@v3
with:
node-version: 18.14.2
- name: Install Dependencies and lint
run: |
cd server
npm install
npm run lint